Fixed typo in ban logic
authorDan
Mon, 18 Feb 2008 16:13:56 -0500
changeset 425 fa51b1b5eae6
parent 424 f58e0b6e9c22
child 427 e7ad98914d06
Fixed typo in ban logic
includes/sessions.php
--- 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);