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/node/node.api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node/node.api.php') diff --git a/modules/node/node.api.php b/modules/node/node.api.php index 9f39c7386..65446cad9 100644 --- a/modules/node/node.api.php +++ b/modules/node/node.api.php @@ -372,7 +372,7 @@ function hook_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