From d7681a355f9f6afb10ba752d93d8f5aacd2b1a40 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 8 May 2007 17:08:14 +0000 Subject: - Patch #131538 by Jo Wouters: E_ALL fixes --- modules/node/node.module | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules') diff --git a/modules/node/node.module b/modules/node/node.module index 2fd272645..97e0d6409 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -449,6 +449,12 @@ function _node_type_set_defaults($info) { $info['body_label'] = t('Body'); } + if (!isset($info['help'])) { + $info['help'] = ''; + } + if (!isset($info['min_word_count'])) { + $info['min_word_count'] = 0; + } if (!isset($info['custom'])) { $info['custom'] = FALSE; } -- cgit v1.2.3