mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Merge pull request #7382 from firefly-iii/fix-7377
Another fix for #7377
This commit is contained in:
commit
fd5269490d
@ -861,7 +861,7 @@ class OperatorQuerySearch implements SearchInterface
|
|||||||
$this->collector->setTags(new Collection([$result]));
|
$this->collector->setTags(new Collection([$result]));
|
||||||
}
|
}
|
||||||
// no tags found means search must result in nothing.
|
// no tags found means search must result in nothing.
|
||||||
if (0 === $result->count()) {
|
if (null === $result) {
|
||||||
Log::info(sprintf('No valid tags in "%s"-operator, so search will not return ANY results.', $operator));
|
Log::info(sprintf('No valid tags in "%s"-operator, so search will not return ANY results.', $operator));
|
||||||
$this->collector->findNothing();
|
$this->collector->findNothing();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user