From 4562843538a25dbb5d565943de59188cbfe60471 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Fri, 18 Feb 2011 00:36:50 +1100 Subject: Ability to view and undo bans --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/functions.php') 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; } -- cgit v1.3