Skip to content

Commit 3119cad

Browse files
committed
Check another array key for existance
1 parent e735e92 commit 3119cad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Service/SolrServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ protected function addFacetFilters(array $arguments): array
289289
// Do not add it otherwise as the additional {!tag …} prepended to the Solr query
290290
// will break usage of {!join …} in the query.
291291
$queryInfo = ['key' => 'facet-'.$facetID.'-'.$facetTerm];
292-
if ($facetInfo['config']['excludeOwnFilter'] && $facetQuery) {
292+
if (array_key_exists('excludeOwnFilter', $facetInfo['config']) && $facetInfo['config']['excludeOwnFilter'] && $facetQuery) {
293293
$queryInfo['tag'] = $this->tagForFacet($facetID);
294294
}
295295

0 commit comments

Comments
 (0)