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()));