Small bug fixes [skip ci]

This commit is contained in:
James Cole 2017-08-12 19:11:24 +02:00
parent ab1aa97af4
commit ad4a811d0a
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 1 additions and 2 deletions

View File

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

View File

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