aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-03-06 23:05:55 +0000
committerColin Smith <colin@pfsense.org>2005-03-06 23:05:55 +0000
commit5962b089769f7abd661094e2a921633e18427382 (patch)
treedc6a7b8ed78029b5910bf3dbd09b01fb305b1868
parentce531019f8e0af26f433f75dbe2955f4f7ab4a2d (diff)
downloadpfsense-packages-5962b089769f7abd661094e2a921633e18427382.tar.gz
pfsense-packages-5962b089769f7abd661094e2a921633e18427382.tar.bz2
pfsense-packages-5962b089769f7abd661094e2a921633e18427382.zip
Use a slightly less restrictive if statement for configuration checking.
-rw-r--r--packages/doormanusers.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/doormanusers.xml b/packages/doormanusers.xml
index a4143e5f..d548e009 100644
--- a/packages/doormanusers.xml
+++ b/packages/doormanusers.xml
@@ -78,7 +78,7 @@
global $config;
$fout = fopen("/usr/local/etc/doormand/guestlist","w");
fwrite($fout, "# This file was automatically generated by the pfSense\n# package management system.\n\n");
- if($config['installedpackages']['doormanusers']['config'] != "") {
+ if($config['installedpackages']['doormanusers'] != "") {
foreach($config['installedpackages']['doormanusers']['config'] as $rowhelper) {
fwrite($fout, $rowhelper['username'] . "\t" . $rowhelper['password'] . "\n\t" . $rowhelper['ports'] . "\n\t" . $rowhelper['addresses'] . "\n\n");
}