Changeset 499


Ignore:
Timestamp:
05/06/13 16:27:14 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix very stupid typo in accept-text-RRtype-arguments checks in dns-rpc.cgi's
addRec() and updateRec().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns-rpc.cgi

    r498 r499  
    390390
    391391  # allow passing text types rather than DNS integer IDs
    392   $args{type} = $DNSDB::reverse_typemap{$args{type}} if $args{type} !~ /^d+$/;
     392  $args{type} = $DNSDB::reverse_typemap{$args{type}} if $args{type} !~ /^\d+$/;
    393393
    394394  my @recargs = ($args{defrec}, $args{revrec}, $args{parent_id},
     
    421421
    422422  # allow passing text types rather than DNS integer IDs
    423   $args{type} = $DNSDB::reverse_typemap{$args{type}} if $args{type} !~ /^d+$/;
     423  $args{type} = $DNSDB::reverse_typemap{$args{type}} if $args{type} !~ /^\d+$/;
    424424
    425425  # note dist, weight, port are not required on all types;  will be ignored if not needed.
Note: See TracChangeset for help on using the changeset viewer.