mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-23 12:27:05 +00:00
Fix various code.
This commit is contained in:
@@ -160,7 +160,7 @@ class UniqueIban implements ValidationRule
|
||||
->whereIn('account_types.type', $typesArray)
|
||||
;
|
||||
|
||||
if (null !== $this->account) {
|
||||
if ($this->account instanceof Account) {
|
||||
$query->where('accounts.id', '!=', $this->account->id);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user