From cce402d1cbce4ca296bb54934e350eed371ac418 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 29 Apr 2009 17:48:11 +0000 Subject: - Patch #446742 by sun, dmitrig01: fixed various bugs. --- modules/comment/comment.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 395d84221..22962b06f 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -709,7 +709,7 @@ function comment_node_update_index($node) { $text = ''; $comments = db_query('SELECT subject, comment, format FROM {comment} WHERE nid = :nid AND status = :status', array(':nid' => $node->nid, ':status' => COMMENT_PUBLISHED)); foreach ($comments as $comment) { - $text .= '

' . check_plain($comment->subject) . '

' . check_markup($comment->comment, $comment->format, FALSE); + $text .= '

' . check_plain($comment->subject) . '

' . check_markup($comment->comment, $comment->format, '', FALSE); } return $text; } -- cgit v1.2.3