mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-04 04:24:26 +00:00
Refactor findNull to find
This commit is contained in:
@@ -75,7 +75,7 @@ trait LiabilityValidation
|
||||
}
|
||||
|
||||
Log::debug('Destination ID is not null.');
|
||||
$search = $this->accountRepository->findNull($accountId);
|
||||
$search = $this->accountRepository->find($accountId);
|
||||
|
||||
// the source resulted in an account, but it's not of a valid type.
|
||||
if (null !== $search && !in_array($search->accountType->type, $validTypes, true)) {
|
||||
|
||||
Reference in New Issue
Block a user