equal
deleted
inserted
replaced
1700 $q = $this->sql($sql); |
1700 $q = $this->sql($sql); |
1701 if ( $db->numrows() > 0 ) |
1701 if ( $db->numrows() > 0 ) |
1702 { |
1702 { |
1703 while ( list($reason_temp, $ban_value, $ban_type, $is_regex) = $db->fetchrow_num() ) |
1703 while ( list($reason_temp, $ban_value, $ban_type, $is_regex) = $db->fetchrow_num() ) |
1704 { |
1704 { |
1705 if ( $ban_type == BAN_IP && $row['is_regex'] != 1 ) |
1705 if ( $ban_type == BAN_IP && $is_regex != 1 ) |
1706 { |
1706 { |
1707 // check range |
1707 // check range |
1708 $regexp = parse_ip_range_regex($ban_value); |
1708 $regexp = parse_ip_range_regex($ban_value); |
1709 if ( !$regexp ) |
1709 if ( !$regexp ) |
1710 continue; |
1710 continue; |