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.
1 parent 29ee862 commit 9c389daCopy full SHA for 9c389da
app/code/Magento/PageCache/Controller/Block.php
@@ -112,7 +112,7 @@ protected function _getBlocks()
112
$handles = $this->base64jsonSerializer->unserialize($handles);
113
114
$handles_size = (int) $this->config->getValue(self::XML_HANDLES_SIZE);
115
- $handles = (count($handles) > $handles_size) ? array_splice($handles, 0, $handles_size) : $handles;
+ $handles = ($handles_size && count($handles) > $handles_size) ? array_splice($handles, 0, $handles_size) : $handles;
116
117
if (!$this->validateHandleParam($handles)) {
118
return [];
0 commit comments