aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");
}