--- sites/all/modules/user_disable/user_disable.module.orig	2009-02-02 00:42:15.000000000 +0100
+++ sites/all/modules/user_disable/user_disable.module	2009-02-02 00:44:45.000000000 +0100
@@ -92,7 +92,7 @@
  */
 function user_disable_admin_settings () {
   $form = array();
-  $attempts_count = variable_get('attempts_count', 10);
+  $attempts_allowed_count = variable_get('attempts_allowed_count', 10);
   $attempts_block_time = variable_get('attempts_block_time', 60);
   $attempts_block_time = $attempts_block_time * 60;
 
@@ -130,10 +130,10 @@
  * Validate function for admin settings form
  */
 function user_disable_admin_settings_validate($form_id, $form_values) {
-  if (!is_numeric($form_values['attempts_count']))
-    form_set_error('attempts_count', t('Attempts count should be numeric!'));
+  if (!is_numeric($form_values['attempts_allowed_count']))
+    form_set_error('attempts_allowed_count', t('Attempts count should be numeric!'));
   if (!is_numeric($form_values['attempts_block_time']))
-    form_set_error('attempts_count', t('Attempts block time should be numeric!'));
+    form_set_error('attempts_block_time', t('Attempts block time should be numeric!'));
 }
