mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-07 14:41:20 +00:00
Fix #7189
This commit is contained in:
@@ -91,7 +91,7 @@ trait LiabilityValidation
|
||||
return false;
|
||||
}
|
||||
Log::debug(sprintf('Return true, found #%d ("%s")', $result->id, $result->name));
|
||||
$this->source = $result;
|
||||
$this->setSource($result);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ trait LiabilityValidation
|
||||
$account = new Account();
|
||||
$accountType = AccountType::whereType(AccountType::LIABILITY_CREDIT)->first();
|
||||
$account->accountType = $accountType;
|
||||
$this->source = $account;
|
||||
$this->setSource($account);
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
||||
Reference in New Issue
Block a user