diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-10 21:39:03 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-10 21:39:03 +0000 |
commit | 7ed3cf3b133aa980f110ebf6585d69448e2cb6ef (patch) | |
tree | 339a7d195ff16193147088110d96493d4c99f34b /modules/node | |
parent | 7bcd22f1c85cc20c3a0d959a216409ee0d8b66ad (diff) | |
download | brdo-7ed3cf3b133aa980f110ebf6585d69448e2cb6ef.tar.gz brdo-7ed3cf3b133aa980f110ebf6585d69448e2cb6ef.tar.bz2 |
#569238 by sun, swentel, catch: Changed Make check_markup() not cache by default.
Diffstat (limited to 'modules/node')
-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 1ed19a6aa..7e1491b53 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); + $text .= '<h2>' . check_plain($comment->subject) . '</h2>' . check_markup($comment->comment, $comment->format, '', TRUE); } return $text; } |