Skip to content

Commit

Permalink
[3.10] [PHP 8.1] Fixes com_finder/indexer/query (joomla#36796)
Browse files Browse the repository at this point in the history
* [3.10] [PHP 8.1] Fixes com_finder/indexer/query

Fixes `Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in administrator/components/com_finder/helpers/indexer/query.php on line 733`

* Better fix for joomla#36796 as suggested by @zero-24
  • Loading branch information
beat authored Jan 23, 2022
1 parent 0a1c48f commit 5ed8cdd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class FinderIndexerQuery
public function __construct($options)
{
// Get the input string.
$this->input = isset($options['input']) ? $options['input'] : null;
$this->input = isset($options['input']) ? $options['input'] : '';

// Get the empty query setting.
$this->empty = isset($options['empty']) ? (bool) $options['empty'] : false;
Expand Down

0 comments on commit 5ed8cdd

Please sign in to comment.