summaryrefslogtreecommitdiff
path: root/modules/throttle
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-05-28 06:08:47 +0000
committerDries Buytaert <dries@buytaert.net>2007-05-28 06:08:47 +0000
commit96926ca04707d6eda0e96b2ae7eb01efb708c3ec (patch)
tree1f94ea0b97c411ba1aa1084f040c98c2a7416542 /modules/throttle
parenta8ceb7613b808c1b6643e910f96dc7319012bf67 (diff)
downloadbrdo-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.module2
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'])));
}