From 96926ca04707d6eda0e96b2ae7eb01efb708c3ec Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 28 May 2007 06:08:47 +0000 Subject: - Patch #146470 by Eaton et al: standardize form API3 hook parameter order. --- modules/throttle/throttle.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/throttle/throttle.module') 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']))); } -- cgit v1.2.3