Changeset 338 for trunk


Ignore:
Timestamp:
06/08/12 18:06:58 (13 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix buglet in add record (possibly update record as well);
hostname entered was not retained on error case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r327 r338  
    17931793  if ($webvar{revrec} eq 'n') {
    17941794    my $domroot = ($webvar{defrec} eq 'y' ? 'DOMAIN' : domainName($dbh,$webvar{parentid}));
    1795     $page->param(name   => $domroot);
     1795    $page->param(name   => ($webvar{name} ? $webvar{name} : $domroot));
    17961796    $page->param(address        => $webvar{address});
    17971797    $page->param(distance       => $webvar{distance})
Note: See TracChangeset for help on using the changeset viewer.