From 93c88cc1966bee1c528a867e4517a101462d469e Mon Sep 17 00:00:00 2001 From: Mark Schouten Date: Fri, 18 Nov 2016 17:11:22 +0100 Subject: [PATCH] If we get here, there is a value without dots... So add it --- zones.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zones.php b/zones.php index dec5a12..45f650d 100644 --- a/zones.php +++ b/zones.php @@ -390,6 +390,8 @@ case "createrecord": } } else if (!string_ends_with($name.'.', $zone->name)) { $name = $name . '.' . $zone->name; + } else { + $name = $name.'.'; } if (!_valid_label($name)) {