summaryrefslogtreecommitdiff
path: root/modules/admin.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/admin.module')
-rw-r--r--modules/admin.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin.module b/modules/admin.module
index 1f2994d0f..5057c1f60 100644
--- a/modules/admin.module
+++ b/modules/admin.module
@@ -36,7 +36,7 @@ function admin_system($field){
}
function admin_link($type) {
- if ($type == "system") {
+ if ($type == "system" && user_access("access administration pages")) {
menu("admin", t("administer %a", array("%a" => variable_get("site_name", "drupal"))) , NULL, NULL, 9);
menu("admin/overview", "sitemap", "overview_callback", admin_help("admin/overview"), 8);
}