Skip to content

Commit

Permalink
Fix filter rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuranto authored and romainruaud committed May 25, 2023
1 parent 048176e commit 8b13743
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function _toHtml()
$html = '';

foreach ($this->getChildNames() as $childName) {
if ($html === '') {
if (trim((string) $html) === '') {
$renderer = $this->getChildBlock($childName);
$html = $renderer->render($this->getFilter());
}
Expand Down

0 comments on commit 8b13743

Please sign in to comment.