[feladat @ 88]
authorrejo
Fri, 17 Aug 2007 14:54:32 +0000
changeset 41 48f2ac49ec24
parent 40 ee5300058c9d
child 42 7f13cbdca3c7
[feladat @ 88] Bugfix. When viewing the details of a slave zone, an error was shown if the ip addresses of it's master nameserver was set (instead of showing the error if there was none set. Reported: Maarten te Paske.
edit.php
--- 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>