Commit de1c5195 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#176367 by chx: not all node type have body labels, so this might not be set

parent a8d2453b
......@@ -129,7 +129,7 @@ function node_type_form(&$form_state, $type = NULL) {
$form['submission']['body_label'] = array(
'#title' => t('Body field label'),
'#type' => 'textfield',
'#default_value' => $type->body_label,
'#default_value' => isset($type->body_label) ? $type->body_label : '',
'#description' => t('To omit the body field for this content type, remove any text and leave this field blank.'),
);
$form['submission']['min_word_count'] = array(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment