mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
commit
ebd12ebeb2
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ case "create":
|
|||
if ($template['name'] !== $_POST['template']) continue;
|
||||
|
||||
foreach ($template['records'] as $record) {
|
||||
$rrset = $zone->getRRSet($record['label'], $record['type']);
|
||||
$rrset = $zone->getRRSet($record['name'], $record['type']);
|
||||
if ($rrset) {
|
||||
$rrset->delete();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue