diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-05-08 17:08:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-05-08 17:08:14 +0000 |
commit | d7681a355f9f6afb10ba752d93d8f5aacd2b1a40 (patch) | |
tree | 40feda3d9cc058881cb7297c56f166c46f1f32a8 /modules | |
parent | a309ea2be2e07e02bcc12b7fde9aebacda5b257e (diff) | |
download | brdo-d7681a355f9f6afb10ba752d93d8f5aacd2b1a40.tar.gz brdo-d7681a355f9f6afb10ba752d93d8f5aacd2b1a40.tar.bz2 |
- Patch #131538 by Jo Wouters: E_ALL fixes
Diffstat (limited to 'modules')
-rw-r--r-- | modules/node/node.module | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |