summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-01-01 22:20:41 +0000
committerDries Buytaert <dries@buytaert.net>2002-01-01 22:20:41 +0000
commit52dfd806ccfcc165c78cdb1a0f01fedd8d6b391b (patch)
treea6d2889f9b34d24bf1de8c1292c521f68f561b5a
parentbe3f89b06bf15791969d046f73b78145856856d6 (diff)
downloadbrdo-52dfd806ccfcc165c78cdb1a0f01fedd8d6b391b.tar.gz
brdo-52dfd806ccfcc165c78cdb1a0f01fedd8d6b391b.tar.bz2
- Fixed a typo.
-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: