diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-10-11 19:44:35 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-10-11 19:44:35 +0000 |
commit | 75fe6b6c0ae85d2b53cb803d5b028b050fd6d454 (patch) | |
tree | 70ea02551300ed5a696b4d289cfc4722924d58ca /modules/watchdog/watchdog.module | |
parent | ecf5ed57d66a182ae0e269942169e0a6cf3a3912 (diff) | |
download | brdo-75fe6b6c0ae85d2b53cb803d5b028b050fd6d454.tar.gz brdo-75fe6b6c0ae85d2b53cb803d5b028b050fd6d454.tar.bz2 |
- Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes.
Diffstat (limited to 'modules/watchdog/watchdog.module')
-rw-r--r-- | modules/watchdog/watchdog.module | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index 22c1ad0f3..1ffd7376c 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/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( |