Skip to content

Commit

Permalink
Deprecated: trim(): Passing null to parameter #1 (joomla#36286)
Browse files Browse the repository at this point in the history
  • Loading branch information
alikon authored Dec 11, 2021
1 parent 3afb594 commit 05cf279
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ protected function getListQuery()
->where($db->quoteName('a.language') . ' = ' . $db->quote(''));

// Filter by search in title.
if ($search = trim($this->getState('filter.search')))
if ($search = trim($this->getState('filter.search', '')))
{
if (stripos($search, 'id:') === 0)
{
Expand Down

0 comments on commit 05cf279

Please sign in to comment.