Changeset 666 for trunk/dns-rpc.cgi


Ignore:
Timestamp:
10/08/14 12:26:55 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Convert calling convention for getRecCount() to a hash so we can pass the
same arguments to getRecCount() and getRecList()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns-rpc.cgi

    r659 r666  
    455455  $args{direction} = 'ASC' if !$args{direction};
    456456
    457   my $ret = $dnsdb->getRecCount($args{defrec}, $args{revrec}, $args{id}, $args{filter});
     457  my $ret = $dnsdb->getRecCount(defrec => $args{defrec}, revrec => $args{revrec},
     458        id => $args{id}, filter => $args{filter});
    458459
    459460  die "$dnsdb->errstr\n" if !$ret;
Note: See TracChangeset for help on using the changeset viewer.