[feladat @ 186]
authorrejo
Wed, 26 Mar 2008 09:21:53 +0000
changeset 86 0205771bf84c
parent 85 1687c1b107fa
child 87 654262e698e2
[feladat @ 186] Bugfix. Due to a typo in an if statement it was impossible to add new slave zones.
inc/record.inc.php
--- a/inc/record.inc.php	Wed Mar 26 09:06:58 2008 +0000
+++ b/inc/record.inc.php	Wed Mar 26 09:21:53 2008 +0000
@@ -306,7 +306,7 @@
 	if(verify_permission(zone_slave_add)) { $zone_slave_add = "1" ; } ;
 
 	// TODO: make sure only one is possible if only one is enabled
-	if($zone_master_add == "1" || $zone_master_add == "1") {
+	if($zone_master_add == "1" || $zone_slave_add == "1") {
 
 		global $db;
 		if (($domain && $owner && $webip && $mailip) ||