summaryrefslogtreecommitdiff
path: root/modules/comment.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment.module')
-rw-r--r--modules/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 0fce40d14..a16d31c1a 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -1188,7 +1188,7 @@ function comment_form($edit, $title = NULL) {
}
if ($op == t('Preview comment')) {
- $form['#post_process'] = 'comment_form_add_preview';
+ $form['#after_build'] = 'comment_form_add_preview';
}
if ($_REQUEST['destination']) {