Skip to content
Snippets Groups Projects
Commit 0aa8cff1 authored by Ere Maijala's avatar Ere Maijala Committed by Robert Lange
Browse files

Fix hard-coded section name.

parent 4458f0a7
No related merge requests found
......@@ -148,7 +148,7 @@ abstract class AbstractFacets implements RecommendInterface
}
// Which facets are ORed?
if (isset($config->Results_Settings->orFacets)) {
if (isset($config->$section->orFacets)) {
$this->orFacets = ($config->$section->orFacets === '*')
? $allFacets
: array_map('trim', explode(',', $config->$section->orFacets));
......
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