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.
2 parents 6a1e6c6 + 5563bdb commit cce3a04Copy full SHA for cce3a04
app/code/Magento/Cms/Block/Page.php
@@ -135,7 +135,7 @@ protected function _addBreadcrumbs(\Magento\Cms\Model\Page $page)
135
'web/default/cms_no_route',
136
ScopeInterface::SCOPE_STORE
137
);
138
- $noRouteDelimiterPosition = strrpos($noRouteIdentifier, '|');
+ $noRouteDelimiterPosition = $noRouteIdentifier === null ? false : strrpos($noRouteIdentifier, '|');
139
if ($noRouteDelimiterPosition) {
140
$noRouteIdentifier = substr($noRouteIdentifier, 0, $noRouteDelimiterPosition);
141
}
0 commit comments