mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Double check on NULL. [skip ci]
This commit is contained in:
parent
5770edcde2
commit
569fec4610
@ -62,7 +62,7 @@ class Search implements SearchInterface
|
||||
{
|
||||
$string = join(' ', $this->words);
|
||||
if (strlen($string) === 0) {
|
||||
return $this->originalQuery;
|
||||
return is_string($this->originalQuery) ? $this->originalQuery : '';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user