summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/comment/comment.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index b593e7ddc..da3951cf9 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1701,7 +1701,8 @@ function comment_form_add_preview($form, &$form_state) {
$output .= theme('comment_view', $comment, $node);
}
else {
- $form['#suffix'] = node_view($node);
+ $suffix = empty($form['#suffix']) ? '' : $form['#suffix'];
+ $form['#suffix'] = $suffix . node_view($node);
$edit['pid'] = 0;
}