Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
facets
Commits
2f914976
Commit
2f914976
authored
Oct 22, 2015
by
marthinal
Browse files
Fix wsod on empty results.
parent
d98306cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Entity/Facet.php
View file @
2f914976
...
...
@@ -304,7 +304,7 @@ class Facet extends ConfigEntityBase implements FacetInterface {
}
public
function
getResults
()
{
return
$this
->
results
;
return
$this
->
results
?:
[]
;
}
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment