summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index df966be92..45cad76eb 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1518,7 +1518,7 @@ function comment_form(&$form_state, $edit, $title = NULL) {
'#title' => t('Comment'),
'#rows' => 15,
'#default_value' => $default,
- '#input_format' => isset($edit['format']) ? $edit['format'] : FILTER_FORMAT_DEFAULT,
+ '#text_format' => isset($edit['format']) ? $edit['format'] : FILTER_FORMAT_DEFAULT,
'#required' => TRUE,
);