summaryrefslogtreecommitdiff
path: root/modules/watchdog
diff options
context:
space:
mode:
Diffstat (limited to 'modules/watchdog')
-rw-r--r--modules/watchdog/watchdog.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module
index dd91c7931..883d11945 100644
--- a/modules/watchdog/watchdog.module
+++ b/modules/watchdog/watchdog.module
@@ -192,8 +192,7 @@ function theme_watchdog_form_overview($form) {
return '<div class="container-inline">'. drupal_render($form) .'</div>';
}
-function watchdog_form_overview_submit($form_id, $form) {
- global $form_values;
+function watchdog_form_overview_submit($form_id, $form_values) {
$_SESSION['watchdog_overview_filter'] = $form_values['filter'];
}