Commit 348f1b8a authored by Dries's avatar Dries

- Patch #351649 by David_Rothstein: comment status incorrectly used in theme.

parent 550e9b3f
......@@ -162,7 +162,7 @@ function chameleon_comment($comment, $node, $links = array()) {
'title' => t('By !author at @date', array('!author' => theme('username', $comment), '@date' => format_date($comment->timestamp, 'small'))),
'html' => TRUE);
$output = "<div class=\"comment" . ' ' . $comment->status . "\">\n";
$output = "<div class=\"comment\">\n";
$output .= " <h3 class=\"title\">" . l($comment->subject, $_GET['q'], array('fragment' => "comment-$comment->cid")) . "</h3>\n";
$output .= " <div class=\"content\">" . $comment->comment;
if (!empty($comment->signature)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment