Skip to content
Snippets Groups Projects
Commit 588abb31 authored by Fabio De Tant's avatar Fabio De Tant Committed by Fabio De Tant
Browse files

Issue #3317783: Deprecated function: abs(): Passing null to parameter #1 on facets summary module

parent d8253538
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ class ShowCountProcessor extends ProcessorPluginBase implements BuildProcessorIn
$count = $facets_summary->getFacetSource()->getCount();
$build_count = [
'#theme' => 'facets_summary_count',
'#count' => $count,
'#count' => $count === NULL ? 0 : $count,
];
array_unshift($build['#items'], $build_count);
return $build;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment