Skip to content
Snippets Groups Projects
Commit f2c313f6 authored by Michail Slabko's avatar Michail Slabko Committed by Andrii Dimov
Browse files

MAGETWO-59342: [Cloud] Custom theme does not use parent xml configuration on...

MAGETWO-59342: [Cloud] Custom theme does not use parent xml configuration on multi thread deployment
parent a9510d31
No related merge requests found
...@@ -62,7 +62,7 @@ class Config implements \Magento\Framework\View\ConfigInterface ...@@ -62,7 +62,7 @@ class Config implements \Magento\Framework\View\ConfigInterface
if (isset($params['themeModel'])) { if (isset($params['themeModel'])) {
/** @var \Magento\Framework\View\Design\ThemeInterface $currentTheme */ /** @var \Magento\Framework\View\Design\ThemeInterface $currentTheme */
$currentTheme = $params['themeModel']; $currentTheme = $params['themeModel'];
$key = $currentTheme->getCode(); $key = $currentTheme->getFullPath();
if (isset($this->viewConfigs[$key])) { if (isset($this->viewConfigs[$key])) {
return $this->viewConfigs[$key]; return $this->viewConfigs[$key];
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment