Merge pull request #1432 from RaspAP/fix/parse-config

Fix: prevent duplicate array values in ParseConfig()
This commit is contained in:
Bill Zimmerman
2023-10-27 13:39:07 +02:00
committed by GitHub

View File

@@ -445,6 +445,7 @@ function ParseConfig($arrConfig)
foreach ($arrConfig as $line) {
$line = trim($line);
if ($line == "" || $line[0] == "#") {
$config[$option] = null;
continue;
}