mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Add an empty name-field if none is entered
This commit is contained in:
parent
2837657d53
commit
c4085c6099
1 changed files with 3 additions and 0 deletions
|
@ -272,6 +272,9 @@ if ($action == "list" or $action== "listslaves") {
|
|||
} else {
|
||||
$name = $vars['name'];
|
||||
}
|
||||
if (!isset($record['name']) {
|
||||
$record['name'] = "";
|
||||
}
|
||||
$records = getrecords_by_name_type($zoneurl, $name, $record['type']);
|
||||
$records = _create_record($name, $records, $record, $zoneurl);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue