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 38c0fc0 commit 29ee862Copy full SHA for 29ee862
app/code/Magento/PageCache/Controller/Block.php
@@ -111,7 +111,7 @@ protected function _getBlocks()
111
$blocks = $this->jsonSerializer->unserialize($blocks);
112
$handles = $this->base64jsonSerializer->unserialize($handles);
113
114
- $handles_size = $this->config->getValue(self::XML_HANDLES_SIZE);
+ $handles_size = (int) $this->config->getValue(self::XML_HANDLES_SIZE);
115
$handles = (count($handles) > $handles_size) ? array_splice($handles, 0, $handles_size) : $handles;
116
117
if (!$this->validateHandleParam($handles)) {
0 commit comments