summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 38c25fc45..2917be5ec 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -806,10 +806,12 @@ function comment_link($type, $node = 0, $main = 0) {
menu("admin/comment/comments", t("overview"), "comment_admin", 2);
menu("admin/comment/comments/0", t("new/updated"), "comment_admin", 1);
menu("admin/comment/comments/1", t("approval queue"), "comment_admin", 2);
- menu("admin/comment/search", t("search"), "comment_admin", 8);
menu("admin/comment/help", t("help"), "comment_help_page", 9);
menu("admin/comment/edit", t("edit comment"), "comment_admin", 0, MENU_HIDE);
menu("admin/comment/delete", t("delete comment"), "comment_admin", 0, MENU_HIDE);
+ if (module_exist('search')) {
+ menu("admin/comment/search", t("search"), "comment_admin", 8);
+ }
// comment settings:
if (user_access("administer moderation")) {