diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 6f0df6c..236f319 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -360,6 +360,9 @@ function comment_node_type_delete($info) { * Creates a comment_body field instance for a given node type. */ function _comment_body_field_create($info) { + if ($info->disabled) { + return; + } // Create the field if needed. if (!field_read_field('comment_body', array('include_inactive' => TRUE))) { $field = array(