Skip to content

Firefly III: a personal finances manager

Wrong variable name.

James Cole170e35aecc2b
diff --git a/app/Services/Internal/Support/JournalServiceTrait.php b/app/Services/Internal/Support/JournalServiceTrait.php
index 0344d69447..b0d25a3ece 100644
--- a/app/Services/Internal/Support/JournalServiceTrait.php
+++ b/app/Services/Internal/Support/JournalServiceTrait.php
@@ -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,