includes/sessions.php
changeset 431 ceff43bbc3d3
parent 425 fa51b1b5eae6
child 436 242353360e37
equal deleted inserted replaced
430:ec90736b9cb9 431:ceff43bbc3d3
  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             {