summaryrefslogtreecommitdiff
path: root/modules/node/node.api.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-08-20 10:56:33 +0000
committerDries Buytaert <dries@buytaert.net>2009-08-20 10:56:33 +0000
commit5dd8314d0a76408969a6679e0574883917d0caf3 (patch)
tree34344369b866dc4ff8751b9595162bb4d322b124 /modules/node/node.api.php
parent0125b20cdab54dac2d0737123263cf6547d7623d (diff)
downloadbrdo-5dd8314d0a76408969a6679e0574883917d0caf3.tar.gz
brdo-5dd8314d0a76408969a6679e0574883917d0caf3.tar.bz2
- Patch #446518 by sun: remove argument from check_markup().
Diffstat (limited to 'modules/node/node.api.php')
-rw-r--r--modules/node/node.api.php2
1 files changed, 1 insertions, 1 deletions
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 .= '<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);
}
return $text;
}