summaryrefslogtreecommitdiff
path: root/modules/throttle/throttle.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/throttle/throttle.module')
-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 ef9b29003..81bb1fd00 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_id, $form_values) {
+function throttle_admin_settings_validate($form_values, $form, &$form_state) {
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'])));
}