diff --git a/administrator/components/com_cache/src/View/Cache/HtmlView.php b/administrator/components/com_cache/src/View/Cache/HtmlView.php index db6e185c315eb..656cf5d6e7ba3 100644 --- a/administrator/components/com_cache/src/View/Cache/HtmlView.php +++ b/administrator/components/com_cache/src/View/Cache/HtmlView.php @@ -104,7 +104,7 @@ public function display($tpl = null): void throw new GenericDataException(implode("\n", $errors), 500); } - if (!\count($this->data) && $this->state->get('filter.search') === '') { + if (!\count($this->data) && ($this->state->get('filter.search') === null || $this->state->get('filter.search') === '')) { $this->setLayout('emptystate'); }