mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Fix: prevent duplicate array value in ParseConfig()
This commit is contained in:
parent
fc75567b0d
commit
6cad8606c6
1 changed files with 1 additions and 0 deletions
|
@ -427,6 +427,7 @@ function ParseConfig($arrConfig)
|
|||
foreach ($arrConfig as $line) {
|
||||
$line = trim($line);
|
||||
if ($line == "" || $line[0] == "#") {
|
||||
$config[$option] = null;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue