Merge pull request #57400 from nextcloud/backport/57371/stable31

This commit is contained in:
Benjamin Gaussorgues 2026-01-08 09:04:26 +01:00 committed by GitHub
commit 27583488dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -222,7 +222,7 @@ class Config {
throw new \Exception($errorMessage);
}
if (isset($CONFIG) && is_array($CONFIG)) {
$this->cache = array_merge($this->cache, $CONFIG);
$this->cache = array_replace_recursive($this->cache, $CONFIG);
}
}