Skip to content

Commit

Permalink
Fix PageCache: async rendering of blocks can corrupt layout cache mag…
Browse files Browse the repository at this point in the history
…ento#8554 magento#9050

Fix PSR-2 standard
  • Loading branch information
adrian-martinez-interactiv4 committed May 9, 2017
1 parent 5a6a000 commit bf7df0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/PageCache/Controller/Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected function _getBlocks()
$blocks = $this->jsonSerializer->unserialize($blocks);
$handles = $this->base64jsonSerializer->unserialize($handles);

if(is_array($handles)){
if (is_array($handles)) {
$handles[] = $this->additionalPageCacheHandle;
}

Expand Down

0 comments on commit bf7df0d

Please sign in to comment.