From d2f0eab4c4b639bf5a9ce7a0807fd9df84075b47 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 1 Dec 2023 11:21:04 +0100 Subject: [PATCH] fix debug msg --- app/Support/Search/OperatorQuerySearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Support/Search/OperatorQuerySearch.php b/app/Support/Search/OperatorQuerySearch.php index 3a765ca467..0a9c84775c 100644 --- a/app/Support/Search/OperatorQuerySearch.php +++ b/app/Support/Search/OperatorQuerySearch.php @@ -1371,7 +1371,7 @@ class OperatorQuerySearch implements SearchInterface */ private function searchAccount(string $value, SearchDirection $searchDirection, StringPosition $stringPosition, bool $prohibited = false): void { - app('log')->debug(sprintf('searchAccount("%s", %s, %s)', $value, $stringPosition, $searchDirection)); + app('log')->debug(sprintf('searchAccount("%s", %s, %s)', $value, $stringPosition->name, $searchDirection->name)); // search direction (default): for source accounts $searchTypes = [AccountType::ASSET, AccountType::MORTGAGE, AccountType::LOAN, AccountType::DEBT, AccountType::REVENUE];