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.
2 parents 5d579fa + 15962f1 commit ef56af4Copy full SHA for ef56af4
app/code/Magento/Widget/Model/ResourceModel/Layout/Update.php
@@ -63,6 +63,7 @@ public function fetchUpdatesByHandle(
63
$bind = ['theme_id' => $theme->getId(), 'store_id' => $store->getId()];
64
$cacheKey = implode('-', $bind);
65
if (!isset($this->layoutUpdateCache[$cacheKey])) {
66
+ $this->layoutUpdateCache[$cacheKey] = [];
67
foreach ($this->getConnection()->fetchAll($this->_getFetchUpdatesByHandleSelect(), $bind) as $layout) {
68
if (!isset($this->layoutUpdateCache[$cacheKey][$layout['handle']])) {
69
$this->layoutUpdateCache[$cacheKey][$layout['handle']] = '';
0 commit comments