From 5dd8314d0a76408969a6679e0574883917d0caf3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 20 Aug 2009 10:56:33 +0000 Subject: - Patch #446518 by sun: remove argument from check_markup(). --- 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 2aa02c320..b0e8dff2b 100644 --- a/modules/node/node.api.php +++ b/modules/node/node.api.php @@ -486,7 +486,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); } return $text; } -- cgit v1.2.3