Skip to content
Snippets Groups Projects
Commit fb1de0ac authored by Thao Huynh Khac's avatar Thao Huynh Khac
Browse files

Update ContextBreadcrumbBuilder.php

parent 48e16655
No related branches found
No related tags found
No related merge requests found
......@@ -252,7 +252,7 @@ class ContextBreadcrumbBuilder implements BreadcrumbBuilderInterface {
$contextBreadcrumbs = $reaction->execute();
foreach ($contextBreadcrumbs as $contextBreadcrumb) {
try {
if (mb_strlen($contextBreadcrumb['title'])) {
if (isset($contextBreadcrumb['title'])) {
if ($contextBreadcrumb['url'] == '<front>') {
$contextBreadcrumb['url'] = '/';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment