diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-18 00:36:50 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-18 00:36:50 +1100 |
| commit | 4562843538a25dbb5d565943de59188cbfe60471 (patch) | |
| tree | d2e4e85081c4d2ef602ad173999fa2ddcbc61242 /inc/functions.php | |
| parent | e93efbfc23dd7770cb8916edf0bd26a003fd226b (diff) | |
Ability to view and undo bans
Diffstat (limited to 'inc/functions.php')
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index 08b1ff25..d0929eef 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -650,7 +650,7 @@ } else { // Use a pre-defined confusing name $name = $config['spam']['hidden_input_names'][$hidden_input_names_x++]; - if($hidden_input_names_x > count($config['spam']['hidden_input_names'])) + if($hidden_input_names_x >= count($config['spam']['hidden_input_names'])) $hidden_input_names_x = -1; } |
