includes/sessions.php
changeset 431 ceff43bbc3d3
parent 425 fa51b1b5eae6
child 436 242353360e37
--- a/includes/sessions.php	Mon Feb 18 16:27:28 2008 -0500
+++ b/includes/sessions.php	Mon Feb 18 16:28:27 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);