Wrong variable name.

This commit is contained in:
James Cole
2020-03-21 09:35:25 +01:00
parent 5701597e20
commit 170e35aecc

View File

@@ -354,7 +354,7 @@ trait JournalServiceTrait
throw new FireflyException('TransactionFactory: Cannot create asset account with these values', $data);
}
$result = $this->accountRepository->store(
$account = $this->accountRepository->store(
[
'account_type_id' => null,
'account_type' => $preferredType,