mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Fix matching on zonename, we were missing the .
This commit is contained in:
parent
ae00aa8ed9
commit
6737aa9b83
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ case "createrecord":
|
|||
if (!string_ends_with($name, $zone->name)) {
|
||||
jtable_respond(null, 'error', "Name $name not in zone ".$zone->name);
|
||||
}
|
||||
} else if (!string_ends_with($name, $zone->name)) {
|
||||
} else if (!string_ends_with($name.'.', $zone->name)) {
|
||||
$name = $name . '.' . $zone->name;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue