aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-25 06:08:59 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-25 06:08:59 +0000
commitfd3748cfecf4c8b159fe97145ab1fe7f0e8d7078 (patch)
tree44f3e07af6f385038876a09b2625024d70719a8d /packages
parentd0a754b4c85b0ac21cfc3175b35aaae6cffbabf0 (diff)
downloadpfsense-packages-fd3748cfecf4c8b159fe97145ab1fe7f0e8d7078.tar.gz
pfsense-packages-fd3748cfecf4c8b159fe97145ab1fe7f0e8d7078.tar.bz2
pfsense-packages-fd3748cfecf4c8b159fe97145ab1fe7f0e8d7078.zip
Check for existing zones correctly
Diffstat (limited to 'packages')
-rw-r--r--packages/tinydns/tinydns_status.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/tinydns/tinydns_status.php b/packages/tinydns/tinydns_status.php
index 41b33f8b..8c55e7d1 100644
--- a/packages/tinydns/tinydns_status.php
+++ b/packages/tinydns/tinydns_status.php
@@ -32,7 +32,7 @@
require("guiconfig.inc");
/* Defaults to this page but if no settings are present, redirect to setup page */
-if(!$config['installedpackages']['tinydns']['config'][0])
+if(!$config['installedpackages']['tinydnsdomains']['config'])
Header("Location: /wizard.php?xml=new_zone_wizard.xml");
if(!$config['installedpackages']['tinydns']['config'][0]['ipaddress'])