diff --git a/administrator/components/com_finder/helpers/indexer/query.php b/administrator/components/com_finder/helpers/indexer/query.php index e4f90dcbd5371..ad3f60f4aba29 100644 --- a/administrator/components/com_finder/helpers/indexer/query.php +++ b/administrator/components/com_finder/helpers/indexer/query.php @@ -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;