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 90ce2db + cebb41f commit 15962f1Copy full SHA for 15962f1
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