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/comment/comment.module | |
parent | e72114736394ccfc33247b3f9093ed3f5b0f4916 (diff) | |
download | brdo-cce402d1cbce4ca296bb54934e350eed371ac418.tar.gz brdo-cce402d1cbce4ca296bb54934e350eed371ac418.tar.bz2 |
- Patch #446742 by sun, dmitrig01: fixed various bugs.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 2 |
1 files changed, 1 insertions, 1 deletions
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 .= '<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; } |