mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
If we get here, there is a value without dots... So add it
This commit is contained in:
parent
5c5f9f7abd
commit
93c88cc196
1 changed files with 2 additions and 0 deletions
|
@ -390,6 +390,8 @@ case "createrecord":
|
||||||
}
|
}
|
||||||
} else if (!string_ends_with($name.'.', $zone->name)) {
|
} else if (!string_ends_with($name.'.', $zone->name)) {
|
||||||
$name = $name . '.' . $zone->name;
|
$name = $name . '.' . $zone->name;
|
||||||
|
} else {
|
||||||
|
$name = $name.'.';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_valid_label($name)) {
|
if (!_valid_label($name)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue