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 f49060b commit 4fd4f99Copy full SHA for 4fd4f99
app/code/Magento/Cms/Helper/Page.php
@@ -158,7 +158,7 @@ public function __construct(
158
public function prepareResultPage(ActionInterface $action, $pageId = null)
159
{
160
if ($pageId !== null && $pageId !== $this->_page->getId()) {
161
- $delimiterPosition = strrpos($pageId, '|');
+ $delimiterPosition = strrpos((string)$pageId, '|');
162
if ($delimiterPosition) {
163
$pageId = substr($pageId, 0, $delimiterPosition);
164
}
0 commit comments