Commit 858c690b authored by socketwench's avatar socketwench Committed by borisson_

Issue #2869850 by socketwench: Undefined index: active in facets_system_breadcrumb_alter()

parent ac55f66e
......@@ -256,7 +256,7 @@ function facets_system_breadcrumb_alter(Breadcrumb &$breadcrumb, RouteMatchInter
// If the facet source is not loaded, or the facet source doesn't have
// breadcrumbs enabled, don't do anything.
if (!($facet_source && $facet_source->getBreadcrumbSettings()['active'])) {
if (!($facet_source && !empty($facet_source->getBreadcrumbSettings()['active']))) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment