mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Fix: prevent duplicate array value in ParseConfig()
This commit is contained in:
parent
fc75567b0d
commit
6cad8606c6
@ -427,6 +427,7 @@ function ParseConfig($arrConfig)
|
||||
foreach ($arrConfig as $line) {
|
||||
$line = trim($line);
|
||||
if ($line == "" || $line[0] == "#") {
|
||||
$config[$option] = null;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user