We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afd7793 commit a70858bCopy full SHA for a70858b
app/code/Magento/Config/App/Config/Type/System.php
@@ -140,7 +140,8 @@ public function get($path = '')
140
*/
141
private function mergeData(array $newData): void
142
{
143
- return $this->data = array_merge_recursive($this->data, $newData);
+ $this->data = array_replace_recursive($this->data, $newData);
144
+ return;
145
if (array_key_exists(ScopeInterface::SCOPE_DEFAULT, $newData)) {
146
//Sometimes new data may contain links to arrays and we don't want that.
147
$this->data[ScopeInterface::SCOPE_DEFAULT] = (array)$newData[ScopeInterface::SCOPE_DEFAULT];
0 commit comments