diff options
Diffstat (limited to 'modules/comment')
-rw-r--r-- | modules/comment/comment.module | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 14a6223fe..6e7ab5471 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -777,6 +777,7 @@ function comment_perm() { } function comment_link($type, $node = 0, $main = 0) { + $links = array(); if ($type == "node" && $node->comment) { @@ -849,7 +850,7 @@ function comment_link($type, $node = 0, $main = 0) { menu("comment", t("comments"), "comment_page", 0, 1); } - return $links ? $links : array(); + return $links; } function comment_page() { |