includes/sessions.php
changeset 495 00f5cd31217a
parent 485 7134d4bf7a23
child 499 6b7fdd898ba3
--- a/includes/sessions.php	Sat Mar 08 12:12:27 2008 -0500
+++ b/includes/sessions.php	Sat Mar 08 12:13:23 2008 -0500
@@ -1702,7 +1702,7 @@
       {
         while ( list($reason_temp, $ban_value, $ban_type, $is_regex) = $db->fetchrow_num() )
         {
-          if ( $ban_type == BAN_IP && $row['is_regex'] != 1 )
+          if ( $ban_type == BAN_IP && $is_regex != 1 )
           {
             // check range
             $regexp = parse_ip_range_regex($ban_value);