Changeset 615


Ignore:
Timestamp:
04/22/14 18:03:57 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Correct r614 with the right function argument; getRecCount()'s arguments
are not quite identical to getRecList()'s. See #25.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r614 r615  
    38143814        " WHERE "._recparent($defrec,$revrec)."=? ".
    38153815        "AND NOT type=$reverse_typemap{SOA}";
    3816   if ($args{filter}) {
     3816  if ($filter) {
    38173817    $sql .= " AND (r.host ~* ? OR r.val ~* ? OR r.host ~* ? OR r.val ~* ?)";
    3818     my $tmp = join('.',reverse(split(/\./,$args{filter})));
     3818    my $tmp = join('.',reverse(split(/\./,$filter)));
    38193819    push @bindvars, ($tmp, $tmp);
    38203820  }
Note: See TracChangeset for help on using the changeset viewer.