add_zone_master.php
changeset 170 391e744a1def
parent 161 0832d846bf8e
child 174 a17ec7de4bbb
--- a/add_zone_master.php	Sun May 18 07:56:11 2008 +0000
+++ b/add_zone_master.php	Sun May 18 11:51:59 2008 +0000
@@ -56,7 +56,7 @@
         }
 
         if (!$error) {
-                if (!is_valid_domain($domain)) {
+                if (!is_valid_hostname_fqdn($domain)) {
                         error(ERR_DOMAIN_INVALID); 
 			$error = "1";
                 } elseif (domain_exists($domain)) {