summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/comment.module2
-rw-r--r--modules/comment/comment.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 7b3f49a40..ae9ea1d7c 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -544,7 +544,7 @@ function comment_link($type, $node = 0, $main = 0) {
function comment_node_link($node) {
- if (user_access("administer comments") && comment_all($node->nid)) {
+ if (user_access("administer comments") && comment_num_all($node->nid)) {
/*
** Edit comments:
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 7b3f49a40..ae9ea1d7c 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -544,7 +544,7 @@ function comment_link($type, $node = 0, $main = 0) {
function comment_node_link($node) {
- if (user_access("administer comments") && comment_all($node->nid)) {
+ if (user_access("administer comments") && comment_num_all($node->nid)) {
/*
** Edit comments: