From f0940b1dbf630c438bf99fb21dd62518cebfd81a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 25 May 2009 15:39:12 +0000 Subject: - Patch #223771 by Arancaytar, Amitaibu: node_body_field does not check ->has_body. --- modules/node/node.module | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index 9cddfde7d..6129ed46f 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -2908,9 +2908,7 @@ function node_content_form($node, $form_state) { ); } - if ($type->has_body) { - $form['body_field'] = node_body_field($node, $type->body_label, $type->min_word_count); - } + $form['body_field'] = node_body_field($node, $type->body_label, $type->min_word_count); return $form; } -- cgit v1.2.3