[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.
--- 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>