- Patch #131538 by Jo Wouters: E_ALL fixes
parent
a309ea2be2
commit
d7681a355f
|
@ -449,6 +449,12 @@ function _node_type_set_defaults($info) {
|
||||||
$info['body_label'] = t('Body');
|
$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'])) {
|
if (!isset($info['custom'])) {
|
||||||
$info['custom'] = FALSE;
|
$info['custom'] = FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue