summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-05-16 09:56:20 +0000
committerDries Buytaert <dries@buytaert.net>2010-05-16 09:56:20 +0000
commitc3d92dc26375ee16e3d717d19538be6fe01804d7 (patch)
tree21661d08f10662ee03c2cc2ff5a5453f38d6ba9e
parent8ab61807e4b58cc9fd29b59f1cb87aaba89b5006 (diff)
downloadbrdo-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.module1
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) {