# HG changeset patch # User rejo # Date 1206523313 0 # Node ID 0205771bf84c4703968773072929855bbc82dfd5 # Parent 1687c1b107fa39934fc5b5deda6c8f34d90f8fe4 [feladat @ 186] Bugfix. Due to a typo in an if statement it was impossible to add new slave zones. diff -r 1687c1b107fa -r 0205771bf84c 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) ||