diff --git a/components/com_tags/src/Controller/TagsController.php b/components/com_tags/src/Controller/TagsController.php index 02b22c411a34a..f58920c8ef16b 100644 --- a/components/com_tags/src/Controller/TagsController.php +++ b/components/com_tags/src/Controller/TagsController.php @@ -35,8 +35,8 @@ public function searchAjax() // Receive request data $filters = [ - 'like' => trim($this->input->get('like', null, 'string')), - 'title' => trim($this->input->get('title', null, 'string')), + 'like' => trim($this->input->get('like', '', 'string')), + 'title' => trim($this->input->get('title', '', 'string')), 'flanguage' => $this->input->get('flanguage', null, 'word'), 'published' => $this->input->get('published', 1, 'int'), 'parent_id' => $this->input->get('parent_id', 0, 'int'),