mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +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