mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix #7917, add missing return statement
This commit is contained in:
parent
1aeaa8b77d
commit
461249737e
@ -293,6 +293,7 @@ class AccountValidator
|
||||
$first = $this->accountRepository->findByName($accountName, $validTypes);
|
||||
if (null !== $first) {
|
||||
app('log')->debug(sprintf('Name: Found %s account #%d ("%s", IBAN "%s")', $first->accountType->type, $first->id, $first->name, $first->iban ?? 'no iban'));
|
||||
return $first;
|
||||
}
|
||||
}
|
||||
app('log')->debug('Found nothing!');
|
||||
|
Loading…
Reference in New Issue
Block a user