Commit dc0ffc1b authored by Dries's avatar Dries
Browse files

- Patch #105757 by kkaefer: Min word count = 0 has no effect because body is always required.

parent c231ce31
......@@ -2936,7 +2936,7 @@ function node_content_form($node) {
'#title' => check_plain($type->body_label),
'#default_value' => $node->body,
'#rows' => 20,
'#required' => TRUE);
'#required' => ($type->min_word_count > 0));
$form['body_filter']['format'] = filter_form($node->format);
}
......
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