diff options
author | Colin Smith <colin@pfsense.org> | 2005-03-06 23:05:55 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-03-06 23:05:55 +0000 |
commit | 5962b089769f7abd661094e2a921633e18427382 (patch) | |
tree | dc6a7b8ed78029b5910bf3dbd09b01fb305b1868 /packages | |
parent | ce531019f8e0af26f433f75dbe2955f4f7ab4a2d (diff) | |
download | pfsense-packages-5962b089769f7abd661094e2a921633e18427382.tar.gz pfsense-packages-5962b089769f7abd661094e2a921633e18427382.tar.bz2 pfsense-packages-5962b089769f7abd661094e2a921633e18427382.zip |
Use a slightly less restrictive if statement for configuration checking.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/doormanusers.xml | 2 |
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"); } |