aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/tinydns/new_zone_wizard.xml2
1 files changed, 1 insertions, 1 deletions
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";