Changeset 318
- Timestamp:
- 04/25/12 17:42:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns.cgi
r315 r318 700 700 unless ($permissions{admin} || $permissions{record_edit}); 701 701 702 # get current/previous record info so we can log "updated 'foo A 1.2.3.4' to 'foo A 2.3.4.5'"703 my $oldrec = getRecLine($dbh, $webvar{defrec}, $webvar{revrec}, $webvar{id});704 705 702 my ($code,$msg) = updateRec($dbh,$webvar{defrec},$webvar{revrec},$webvar{id},$webvar{parentid}, 706 703 \$webvar{name},\$webvar{type},\$webvar{address},$webvar{ttl}, … … 728 725 $page->param(dohere => "default records in group ".groupName($dbh,$webvar{parentid})); 729 726 } else { 730 $page->param(parentid => $webvar{parentid});731 727 $page->param(dohere => domainName($dbh,$webvar{parentid})) if $webvar{revrec} eq 'n'; 732 728 $page->param(dohere => revName($dbh,$webvar{parentid})) if $webvar{revrec} eq 'y';
Note:
See TracChangeset
for help on using the changeset viewer.