From c40435489041ea2eb92c660e5ddbaa8bdfe29a7b Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 17 Oct 2020 08:56:38 +0200 Subject: [PATCH] Fix missing var --- app/TransactionRules/Engine/SearchRuleEngine.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/TransactionRules/Engine/SearchRuleEngine.php b/app/TransactionRules/Engine/SearchRuleEngine.php index 22cd561695..99307a22f4 100644 --- a/app/TransactionRules/Engine/SearchRuleEngine.php +++ b/app/TransactionRules/Engine/SearchRuleEngine.php @@ -262,10 +262,7 @@ class SearchRuleEngine implements RuleEngineInterface $result = $searchEngine->searchTransactions(); - $collection = $result->getCollection(); - Log::debug(sprintf('SearchRuleEngine:: Found %d transactions using search engine with query "%s".', $collection->count(), $searchQuery)); - - return $collection; + return $result->getCollection(); } /**