summaryrefslogtreecommitdiff
path: root/modules/watchdog.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/watchdog.module')
-rw-r--r--modules/watchdog.module10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/watchdog.module b/modules/watchdog.module
index 22c1ad0f3..1ffd7376c 100644
--- a/modules/watchdog.module
+++ b/modules/watchdog.module
@@ -82,13 +82,13 @@ function watchdog_overview() {
}
$form['filter'] = array(
- type => 'select',
- title => t('Filter by message type'),
- options => $names,
- default_value => $_SESSION['watchdog_overview_filter']
+ '#type' => 'select',
+ '#title' => t('Filter by message type'),
+ '#options' => $names,
+ '#default_value' => $_SESSION['watchdog_overview_filter']
);
- $form['submit'] = array(type => 'submit', value =>t('Filter'));
+ $form['submit'] = array('#type' => 'submit', '#value' =>t('Filter'));
$output = drupal_get_form('watchdog_form_overview', $form);
$header = array(