summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-10-28 17:40:30 +0000
committerDries Buytaert <dries@buytaert.net>2010-10-28 17:40:30 +0000
commita201a78234ddca624a77f17a96a160ab3098f644 (patch)
tree5a0abeb3bc1301ea1ca15d9cfab747edf95792c1
parent0dfb593a5e4f5b28c428eacacdc7c5daee457a48 (diff)
downloadbrdo-a201a78234ddca624a77f17a96a160ab3098f644.tar.gz
brdo-a201a78234ddca624a77f17a96a160ab3098f644.tar.bz2
- Patch #955454 by drunken monkey: logic for displaying 'X new comment(s)' link seems inverted.
-rw-r--r--modules/comment/comment.module2
1 files changed, 1 insertions, 1 deletions
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",