Commit 2f914976 authored by marthinal's avatar marthinal
Browse files

Fix wsod on empty results.

parent d98306cf
...@@ -304,7 +304,7 @@ class Facet extends ConfigEntityBase implements FacetInterface { ...@@ -304,7 +304,7 @@ class Facet extends ConfigEntityBase implements FacetInterface {
} }
public function getResults() { public function getResults() {
return $this->results; return $this->results ?: [];
} }
/** /**
......
Supports Markdown
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