From 6482708fe7ab60fff4bb94dd747e623c11e9126d Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Tue, 1 Jun 2004 11:01:26 +0000 Subject: - Fixing watchdog menu so the filters work. --- modules/watchdog.module | 2 +- modules/watchdog/watchdog.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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); } } } -- cgit v1.2.3