diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-04-29 17:48:11 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-04-29 17:48:11 +0000 |
commit | cce402d1cbce4ca296bb54934e350eed371ac418 (patch) | |
tree | 34b0e05d1b9f8ff8a70a0113a1a8ce80cf27491e /modules/node/node.api.php | |
parent | e72114736394ccfc33247b3f9093ed3f5b0f4916 (diff) | |
download | brdo-cce402d1cbce4ca296bb54934e350eed371ac418.tar.gz brdo-cce402d1cbce4ca296bb54934e350eed371ac418.tar.bz2 |
- Patch #446742 by sun, dmitrig01: fixed various bugs.
Diffstat (limited to 'modules/node/node.api.php')
-rw-r--r-- | modules/node/node.api.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 .= '<h2>' . check_plain($comment->subject) . '</h2>' . check_markup($comment->comment, $comment->format, FALSE); + $text .= '<h2>' . check_plain($comment->subject) . '</h2>' . check_markup($comment->comment, $comment->format, '', FALSE); } return $text; } |