Commit 6482708f authored by Kjartan's avatar Kjartan
Browse files

- Fixing watchdog menu so the filters work.

parent 7a33d9f6
......@@ -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);
}
}
}
......
......@@ -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);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment