From ad4a811d0a5cdfc09415b2e3bb92c1d2931024a1 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 12 Aug 2017 19:11:24 +0200 Subject: [PATCH] Small bug fixes [skip ci] --- app/Import/Storage/ImportSupport.php | 2 +- app/Support/Search/Search.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Import/Storage/ImportSupport.php b/app/Import/Storage/ImportSupport.php index 7af7e94203..adb49c5d89 100644 --- a/app/Import/Storage/ImportSupport.php +++ b/app/Import/Storage/ImportSupport.php @@ -225,7 +225,7 @@ trait ImportSupport // if opposing is an asset account, it's a transfer: if ($account->accountType->type === AccountType::ASSET) { - Log::debug(sprintf('Opposing account #%d %s is an asset account, make transfer.', $account->id, $opposing->name)); + Log::debug(sprintf('Opposing account #%d %s is an asset account, make transfer.', $account->id, $account->name)); $transactionType = TransactionType::whereType(TransactionType::TRANSFER)->first(); } diff --git a/app/Support/Search/Search.php b/app/Support/Search/Search.php index 5da8c674cb..9d9a575928 100644 --- a/app/Support/Search/Search.php +++ b/app/Support/Search/Search.php @@ -113,7 +113,6 @@ class Search implements SearchInterface } $collector->removeFilter(InternalTransferFilter::class); $set = $collector->getPaginatedJournals()->getCollection(); - $words = $this->words; Log::debug(sprintf('Found %d journals to check. ', $set->count()));