Skip to content
Snippets Groups Projects
Commit 4838e009 authored by Demian Katz's avatar Demian Katz
Browse files

Avoid notice.

parent 7a43fc48
No related merge requests found
......@@ -84,7 +84,7 @@ class SideFacets implements RecommendInterface
$this->checkboxFacets
= ($checkboxSection && isset($config->$checkboxSection))
? $config->$checkboxSection->toArray() : array();
if ($flipCheckboxes) {
if (isset($flipCheckboxes) && $flipCheckboxes) {
$this->checkboxFacets = array_flip($this->checkboxFacets);
}
}
......
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