Skip to content

Commit e4c752b

Browse files
author
Oleksandr Gorkun
committed
MAGETWO-81469: Cached Config is Different From DB
1 parent e1e7b14 commit e4c752b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/code/Magento/Config/App/Config/Type/System.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,10 @@ private function getWithParts($path)
156156

157157
if ($scopeType === ScopeInterface::SCOPE_DEFAULT) {
158158
if (!isset($this->data[$scopeType])) {
159-
$this->data = array_replace_recursive($this->data, $scopeData = $this->loadDefaultScopeData($scopeType));
159+
$this->data = array_replace_recursive(
160+
$this->data,
161+
$scopeData = $this->loadDefaultScopeData($scopeType)
162+
);
160163
$scopeData = $this->postProcessor->process($scopeData);
161164
$this->data = array_replace_recursive($this->data, $scopeData);
162165
}

0 commit comments

Comments
 (0)