Fixed undefined variable ($row['is_regex'] instead of $is_regex) in sessions.php
authorDan
Sat, 08 Mar 2008 12:13:23 -0500
changeset 495 00f5cd31217a
parent 494 6c78cc456091
child 496 449b042ea6b0
Fixed undefined variable ($row['is_regex'] instead of $is_regex) in sessions.php
includes/sessions.php
--- 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);