We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e15d04 commit 9260215Copy full SHA for 9260215
system/Config/BaseConfig.php
@@ -291,7 +291,7 @@ protected function registerProperties()
291
292
foreach ($properties as $property => $value) {
293
if (isset($this->{$property}) && is_array($this->{$property}) && is_array($value)) {
294
- $this->{$property} = array_merge($this->{$property}, $value);
+ $this->{$property} = array_replace_recursive($this->{$property}, $value);
295
} else {
296
$this->{$property} = $value;
297
}
0 commit comments