From 6cad8606c6732f14c3e7306b8ffd7821e1204f03 Mon Sep 17 00:00:00 2001 From: billz Date: Wed, 25 Oct 2023 08:56:19 +0100 Subject: [PATCH] Fix: prevent duplicate array value in ParseConfig() --- includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/functions.php b/includes/functions.php index 24a42f15..40f7f644 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -427,6 +427,7 @@ function ParseConfig($arrConfig) foreach ($arrConfig as $line) { $line = trim($line); if ($line == "" || $line[0] == "#") { + $config[$option] = null; continue; }