Skip to content

Commit

Permalink
prevent layout cache corruption
Browse files Browse the repository at this point in the history
  • Loading branch information
scottsb committed Nov 16, 2017
1 parent 255fecc commit a97cc6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/internal/Magento/Framework/View/Model/Layout/Merge.php
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,9 @@ public function load($handles = [])
if ($result) {
$this->addUpdate($result);
$this->pageLayout = $this->_loadCache($cacheIdPageLayout);
foreach ($this->getHandles() as $handle) {
$this->allHandles[$handle] = $this->handleProcessed;
}
return $this;
}

Expand Down

0 comments on commit a97cc6d

Please sign in to comment.