mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Switch should have default thing.
This commit is contained in:
@@ -73,6 +73,7 @@ class AccountSearch implements GenericSearchInterface
|
||||
$like = sprintf('%%%s%%', $this->query);
|
||||
$originalQuery = $this->query;
|
||||
switch ($this->field) {
|
||||
default:
|
||||
case self::SEARCH_ALL:
|
||||
$query->where(
|
||||
static function (Builder $q) use ($like) {
|
||||
|
||||
Reference in New Issue
Block a user