edit.php
changeset 41 48f2ac49ec24
parent 38 cf767482333a
child 45 eddff78bf57f
--- a/edit.php	Mon Aug 13 22:05:06 2007 +0000
+++ b/edit.php	Fri Aug 17 14:54:32 2007 +0000
@@ -40,7 +40,7 @@
     <div class="error"><? echo _('Error'); ?>: <? echo ('There is no owner for this zone, please assign someone.'); ?></div>
 <?
 }
-if ($domain_type == "SLAVE" && $slave_master )
+if ($domain_type == "SLAVE" && ! $slave_master )
 {
 ?>
     <div class="error"><? echo _('Error'); ?>: <? echo _('Type of this zone is "slave", but there is no IP address for it\'s master given.'); ?></div>