Skip to content

Commit 4e006c7

Browse files
committed
feat(Config.php): change array_merge to array_merge_recursive when merging configs
Signed-off-by: Simon L. <[email protected]>
1 parent 72ad2ed commit 4e006c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ private function readData() {
242242
throw new \Exception($errorMessage);
243243
}
244244
if (isset($CONFIG) && is_array($CONFIG)) {
245-
$this->cache = array_merge($this->cache, $CONFIG);
245+
$this->cache = array_merge_recursive($this->cache, $CONFIG);
246246
}
247247
}
248248

0 commit comments

Comments
 (0)