From a201a78234ddca624a77f17a96a160ab3098f644 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 28 Oct 2010 17:40:30 +0000 Subject: - Patch #955454 by drunken monkey: logic for displaying 'X new comment(s)' link seems inverted. --- modules/comment/comment.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 6b6dedb65..9ac2d40df 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -620,7 +620,7 @@ function comment_node_view($node, $view_mode) { ); $new = comment_num_new($node->nid); - if (!$new) { + if ($new) { $links['comment-new-comments'] = array( 'title' => format_plural($new, '1 new comment', '@count new comments'), 'href' => "node/$node->nid", -- cgit v1.2.3