add_zone_slave.php
changeset 174 a17ec7de4bbb
parent 170 391e744a1def
child 175 0345d21f21b0
--- a/add_zone_slave.php	Mon May 19 19:01:58 2008 +0000
+++ b/add_zone_slave.php	Fri May 23 21:52:08 2008 +0000
@@ -34,7 +34,7 @@
 (verify_permission('zone_slave_add')) ? $zone_slave_add = "1" : $zone_slave_add = "0" ;
 
 if ($_POST['submit'] && $zone_slave_add == "1") {
-	if (!is_valid_hostname_fqdn($zone)) {
+	if (!is_valid_hostname_fqdn($zone,0)) {
 		error(ERR_DNS_HOSTNAME);
 	} elseif (domain_exists($zone)) {
 		error(ERR_DOMAIN_EXISTS);