includes/sessions.php
changeset 425 fa51b1b5eae6
parent 411 d1a95497b68f
child 436 242353360e37
--- a/includes/sessions.php	Sat Feb 16 16:56:08 2008 -0500
+++ b/includes/sessions.php	Mon Feb 18 16:13:56 2008 -0500
@@ -1624,7 +1624,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);