Commit 6fcfd475 authored by cgmonroe's avatar cgmonroe Committed by borisson_

Issue #3041494 by cgmonroe: Multilingual Facet error

parent 8d7b1c95
...@@ -368,7 +368,8 @@ function facets_language_switch_links_alter(array &$links, $type, Url $url) { ...@@ -368,7 +368,8 @@ function facets_language_switch_links_alter(array &$links, $type, Url $url) {
} }
foreach ($allFacets as $facet) { foreach ($allFacets as $facet) {
if (!isset($link['query'][$facet->getFacetSourceConfig()->getFilterKey()])) { if (!isset($link['query'][$facet->getFacetSourceConfig()->getFilterKey()]) ||
!is_array($link['query'][$facet->getFacetSourceConfig()->getFilterKey()])) {
continue; continue;
} }
......
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