- Timestamp:
- 01/10/13 17:16:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r446 r448 3692 3692 # Set up database fields and bind parameters. Note only the optional fields 3693 3693 # (distance, weight, port, secondary parent ID) are added in the validation call above 3694 $fields .= "host,type,val,ttl, location,"._recparent($defrec,$revrec);3695 push @vallist, ($$host,$$rectype,$$val,$ttl, $location,3694 $fields .= "host,type,val,ttl,"._recparent($defrec,$revrec); 3695 push @vallist, ($$host,$$rectype,$$val,$ttl, 3696 3696 ($defrec eq 'y' ? $oldrec->{group_id} : ($revrec eq 'n' ? $oldrec->{domain_id} : $oldrec->{rdns_id})) ); 3697 3698 # locations are not for default records, silly coder! 3699 if ($defrec eq 'n') { 3700 $fields .= ",location"; 3701 push @vallist, $location; 3702 } 3697 3703 3698 3704 # hack hack PTHUI
Note:
See TracChangeset
for help on using the changeset viewer.