includes/sessions.php
changeset 425 fa51b1b5eae6
parent 411 d1a95497b68f
child 436 242353360e37
equal deleted inserted replaced
424:f58e0b6e9c22 425:fa51b1b5eae6
  1622       $q = $this->sql($sql);
  1622       $q = $this->sql($sql);
  1623       if ( $db->numrows() > 0 )
  1623       if ( $db->numrows() > 0 )
  1624       {
  1624       {
  1625         while ( list($reason_temp, $ban_value, $ban_type, $is_regex) = $db->fetchrow_num() )
  1625         while ( list($reason_temp, $ban_value, $ban_type, $is_regex) = $db->fetchrow_num() )
  1626         {
  1626         {
  1627           if ( $ban_type == BAN_IP && $row['is_regex'] != 1 )
  1627           if ( $ban_type == BAN_IP && $is_regex != 1 )
  1628           {
  1628           {
  1629             // check range
  1629             // check range
  1630             $regexp = parse_ip_range_regex($ban_value);
  1630             $regexp = parse_ip_range_regex($ban_value);
  1631             if ( !$regexp )
  1631             if ( !$regexp )
  1632             {
  1632             {