summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment')
-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 af8b51d1a..8a3db48b8 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1355,7 +1355,7 @@ function comment_form($edit, $title = NULL) {
}
if ($op == t('Preview comment')) {
- $form['#after_build'] = 'comment_form_add_preview';
+ $form['#after_build'] = array('comment_form_add_preview');
}
if ($_REQUEST['destination']) {