equal
deleted
inserted
replaced
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 { |