diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/watchdog.module | 2 | ||||
-rw-r--r-- | modules/watchdog/watchdog.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/watchdog.module b/modules/watchdog.module index 798752032..a2be7242c 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -50,7 +50,7 @@ function watchdog_link($type) { if (arg(1) == 'logs') { foreach (_watchdog_get_message_types() as $type) { - menu("admin/logs/$type", t($type), user_access('administer watchdog') ? 'watchdog_overview' : MENU_DENIED, 0, MENU_SHOW, MENU_LOCKED); + menu("admin/logs/$type", t($type), MENU_FALLTHROUGH, 0, MENU_SHOW, MENU_LOCKED); } } } diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index 798752032..a2be7242c 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -50,7 +50,7 @@ function watchdog_link($type) { if (arg(1) == 'logs') { foreach (_watchdog_get_message_types() as $type) { - menu("admin/logs/$type", t($type), user_access('administer watchdog') ? 'watchdog_overview' : MENU_DENIED, 0, MENU_SHOW, MENU_LOCKED); + menu("admin/logs/$type", t($type), MENU_FALLTHROUGH, 0, MENU_SHOW, MENU_LOCKED); } } } |