From c3d92dc26375ee16e3d717d19538be6fe01804d7 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 16 May 2010 09:56:20 +0000 Subject: - Patch #800030 by kcybulski: fxed PHP Notice: if you edit content type that is created witch has_title() = FALSE. --- modules/node/node.module | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') 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) { -- cgit v1.2.3