From d048681f03b495256dbd52672a2a6e717425a5b0 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Sun, 2 Jul 2006 20:24:17 +0000 Subject: #63990 by Heine and chx, allow commenting on nodes containing forms --- modules/comment/comment.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index bb96f6d27..46dce36ba 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1450,7 +1450,7 @@ function comment_form_add_preview($form, $edit) { $output .= theme('comment_view', $comment); } else { - $output .= node_view(node_load($edit['nid'])); + $form['#suffix'] = node_view(node_load($edit['nid'])); $edit['pid'] = 0; } -- cgit v1.2.3