summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 dc58b5a57..7b3f49a40 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") && comments_all($node->nid)) {
+ if (user_access("administer comments") && comment_all($node->nid)) {
/*
** Edit comments:
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index dc58b5a57..7b3f49a40 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") && comments_all($node->nid)) {
+ if (user_access("administer comments") && comment_all($node->nid)) {
/*
** Edit comments: