From 43cf4b676823b2ae5e91c893ff2d0cdd5a3e3363 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 24 Oct 2008 21:59:48 +0000 Subject: Check primarynameserver, too --- packages/tinydns/new_zone_wizard.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tinydns/new_zone_wizard.xml b/packages/tinydns/new_zone_wizard.xml index afcf0381..62e2656b 100644 --- a/packages/tinydns/new_zone_wizard.xml +++ b/packages/tinydns/new_zone_wizard.xml @@ -120,7 +120,7 @@ $changed = false; - if($_POST['domainname']) { + if($_POST['domainname'] and $_POST['primarynameserver']) { $tmp = array(); $tmp['hostname'] = $_POST['domainname']; $tmp['recordtype'] = "SOA"; -- cgit v1.2.3