Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix logs.
James Cole7d9f3ac473e8
diff --git a/app/Support/Search/OperatorQuerySearch.php b/app/Support/Search/OperatorQuerySearch.phpindex 29604c81a5..f6378f0415 100644--- a/app/Support/Search/OperatorQuerySearch.php+++ b/app/Support/Search/OperatorQuerySearch.php@@ -2030,8 +2030,7 @@ class OperatorQuerySearch implements SearchInterface// get accounts:$accounts = $this->accountRepository->searchAccount($value, $searchTypes, 1337);if (0 === $accounts->count() && false === $prohibited) {- Log::debug('Found zero accounts, search for non existing account, NO results will be returned.');- Log::warning(sprintf('Call to findNothing() from %s.', $operator));+ Log::warning('Found zero accounts, search for non existing account, NO results will be returned.');$this->collector->findNothing();return;@@ -2047,8 +2046,7 @@ class OperatorQuerySearch implements SearchInterface);if (0 === $filtered->count()) {- Log::debug('Left with zero accounts, so cannot find anything, NO results will be returned.');- Log::warning(sprintf('Call to findNothing() from %s.', $operator));+ Log::warning('Left with zero accounts, so cannot find anything, NO results will be returned.');$this->collector->findNothing();return;@@ -2113,7 +2111,7 @@ class OperatorQuerySearch implements SearchInterface$accounts = $this->accountRepository->searchAccountNr($value, $searchTypes, 1337);if (0 === $accounts->count()) {Log::debug('Found zero accounts, search for invalid account.');- Log::warning(sprintf('Call to findNothing() from %s.', $operator));+ Log::warning('Call to findNothing() from searchAccountNr().');$this->collector->findNothing();return;@@ -2140,7 +2138,7 @@ class OperatorQuerySearch implements SearchInterfaceif (0 === $filtered->count()) {Log::debug('Left with zero, search for invalid account');- Log::warning(sprintf('Call to findNothing() from %s.', $operator));+ Log::warning('Call to findNothing() from searchAccountNr().');$this->collector->findNothing();return;