Skip to content

Commit

Permalink
Tags: Don't put NULL into trim() (#41509)
Browse files Browse the repository at this point in the history
Co-authored-by: Quy <quy@nomonkeybiz.com>
  • Loading branch information
Hackwar and Quy authored Aug 30, 2023
1 parent d20c455 commit f8891fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/com_tags/src/Controller/TagsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit f8891fd

Please sign in to comment.