diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-10-28 17:40:30 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-10-28 17:40:30 +0000 |
commit | a201a78234ddca624a77f17a96a160ab3098f644 (patch) | |
tree | 5a0abeb3bc1301ea1ca15d9cfab747edf95792c1 /modules | |
parent | 0dfb593a5e4f5b28c428eacacdc7c5daee457a48 (diff) | |
download | brdo-a201a78234ddca624a77f17a96a160ab3098f644.tar.gz brdo-a201a78234ddca624a77f17a96a160ab3098f644.tar.bz2 |
- Patch #955454 by drunken monkey: logic for displaying 'X new comment(s)' link seems inverted.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/comment/comment.module | 2 |
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", |