Skip to content
Snippets Groups Projects

trim path before exploding

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -297,7 +297,7 @@ class EasyBreadcrumbBuilder implements BreadcrumbBuilderInterface {
}
$path = urldecode($path);
$path_elements = explode('/', $path);
$path_elements = explode('/', trim($path, '/'));
$front = $this->siteConfig->get('page.front');
// Give the option to keep the breadcrumb on the front page.
Loading