diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-05-28 06:08:47 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-05-28 06:08:47 +0000 |
commit | 96926ca04707d6eda0e96b2ae7eb01efb708c3ec (patch) | |
tree | 1f94ea0b97c411ba1aa1084f040c98c2a7416542 /modules/throttle | |
parent | a8ceb7613b808c1b6643e910f96dc7319012bf67 (diff) | |
download | brdo-96926ca04707d6eda0e96b2ae7eb01efb708c3ec.tar.gz brdo-96926ca04707d6eda0e96b2ae7eb01efb708c3ec.tar.bz2 |
- Patch #146470 by Eaton et al: standardize form API3 hook parameter order.
Diffstat (limited to 'modules/throttle')
-rw-r--r-- | modules/throttle/throttle.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/throttle/throttle.module b/modules/throttle/throttle.module index 81bb1fd00..e1e4b630d 100644 --- a/modules/throttle/throttle.module +++ b/modules/throttle/throttle.module @@ -156,7 +156,7 @@ function throttle_admin_settings() { return system_settings_form($form); } -function throttle_admin_settings_validate($form_values, $form, &$form_state) { +function throttle_admin_settings_validate($form, &$form_state, $form_values) { if (!is_numeric($form_values['throttle_anonymous']) || $form_values['throttle_anonymous'] < 0) { form_set_error('throttle_anonymous', t("%value is not a valid auto-throttle setting. Please enter a positive numeric value.", array('%value' => $form_values['throttle_anonymous']))); } |