Changeset 413 for trunk/dns-rpc.cgi
- Timestamp:
- 10/05/12 14:54:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns-rpc.cgi
r412 r413 286 286 _commoncheck(\%args); 287 287 288 my %ret = DNSDB::getSOA($dbh, $args{def}, $args{id});289 if (!$ret {recid}) {290 if ($args{def } eq 'y') {288 my $ret = DNSDB::getSOA($dbh, $args{defrec}, $args{revrec}, $args{id}); 289 if (!$ret) { 290 if ($args{defrec} eq 'y') { 291 291 die "No default SOA record in group\n"; 292 292 } else { 293 die "No SOA record in domain\n";293 die "No SOA record in zone\n"; 294 294 } 295 295 } 296 return \%ret;296 return $ret; 297 297 } 298 298
Note:
See TracChangeset
for help on using the changeset viewer.