diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-05-16 09:56:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-05-16 09:56:20 +0000 |
commit | c3d92dc26375ee16e3d717d19538be6fe01804d7 (patch) | |
tree | 21661d08f10662ee03c2cc2ff5a5453f38d6ba9e | |
parent | 8ab61807e4b58cc9fd29b59f1cb87aaba89b5006 (diff) | |
download | brdo-c3d92dc26375ee16e3d717d19538be6fe01804d7.tar.gz brdo-c3d92dc26375ee16e3d717d19538be6fe01804d7.tar.bz2 |
- Patch #800030 by kcybulski: fxed PHP Notice: if you edit content type that is created witch has_title() = FALSE.
-rw-r--r-- | modules/node/node.module | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 8b4c514e4..d38fb5079 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -3290,6 +3290,7 @@ function _node_access_rebuild_batch_finished($success, $results, $operations) { function node_content_form($node, $form_state) { // It is impossible to define a content type without implementing hook_form() // @todo: remove this requirement. + $form = array(); $type = node_type_get_type($node); if ($type->has_title) { |