Skip to content

Commit ef56af4

Browse files
committed
Merge branch 'S82' of github.corp.magento.com:magento-dragons/magento2ce into S82
2 parents 5d579fa + 15962f1 commit ef56af4

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/Widget/Model/ResourceModel/Layout

1 file changed

+1
-0
lines changed

app/code/Magento/Widget/Model/ResourceModel/Layout/Update.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public function fetchUpdatesByHandle(
6363
$bind = ['theme_id' => $theme->getId(), 'store_id' => $store->getId()];
6464
$cacheKey = implode('-', $bind);
6565
if (!isset($this->layoutUpdateCache[$cacheKey])) {
66+
$this->layoutUpdateCache[$cacheKey] = [];
6667
foreach ($this->getConnection()->fetchAll($this->_getFetchUpdatesByHandleSelect(), $bind) as $layout) {
6768
if (!isset($this->layoutUpdateCache[$cacheKey][$layout['handle']])) {
6869
$this->layoutUpdateCache[$cacheKey][$layout['handle']] = '';

0 commit comments

Comments
 (0)