mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-19 02:45:58 +00:00
Another fix for #7377
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user