Skip to content

Commit 1727b68

Browse files
committed
AC-8477: API page_cache/block/esi handles param enhancement
1 parent 9c389da commit 1727b68

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/PageCache/Controller

1 file changed

+2
-1
lines changed

app/code/Magento/PageCache/Controller/Block.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ protected function _getBlocks()
112112
$handles = $this->base64jsonSerializer->unserialize($handles);
113113

114114
$handles_size = (int) $this->config->getValue(self::XML_HANDLES_SIZE);
115-
$handles = ($handles_size && count($handles) > $handles_size) ? array_splice($handles, 0, $handles_size) : $handles;
115+
$handles = ($handles_size && count($handles) > $handles_size)
116+
? array_splice($handles, 0, $handles_size) : $handles;
116117

117118
if (!$this->validateHandleParam($handles)) {
118119
return [];

0 commit comments

Comments
 (0)