summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-14 02:00:08 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-14 02:00:08 +0000
commit6260946b821246cc615ee8066bdd4e9187708bc1 (patch)
tree7b1117995c972fb1ba04cb89282b7744a7edf357 /modules/comment/comment.module
parent494ba2f45fa35926e7c16468290805f1362ba4b2 (diff)
downloadbrdo-6260946b821246cc615ee8066bdd4e9187708bc1.tar.gz
brdo-6260946b821246cc615ee8066bdd4e9187708bc1.tar.bz2
#538164 follow-up by sun: Make comment body a required field.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 49c94c498..664d2aca8 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -298,6 +298,7 @@ function _comment_body_field_instance_create($info) {
'object_type' => 'comment',
'bundle' => 'comment_node_' . $info->type,
'settings' => array('text_processing' => 1),
+ 'required' => TRUE,
// Hides field label by default.
'display' => array(
'full' => array(