Changeset 399 for trunk


Ignore:
Timestamp:
10/03/12 16:23:33 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Another lurking buglet in the normalization of getDomRecs()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r397 r399  
    33053305  # protection against bad or missing arguments
    33063306  $args{sortorder} = 'ASC' if !$args{sortorder};
    3307   $args{sortby} = 'host' if !$args{sortby} && $args{rev} eq 'n';        # default sort by host on domain record list
    3308   $args{sortby} = 'val' if !$args{sortby} && $args{rev} eq 'y';         # default sort by IP on revzone record list
     3307  $args{sortby} = 'host' if !$args{sortby} && $args{revrec} eq 'n';     # default sort by host on domain record list
     3308  $args{sortby} = 'val' if !$args{sortby} && $args{revrec} eq 'y';      # default sort by IP on revzone record list
    33093309  $args{offset} = 0 if !$args{offset} || $args{offset} !~ /^(?:all|\d+)$/; 
    33103310
Note: See TracChangeset for help on using the changeset viewer.