From 170e35aecc2b4c987829102d00e60868c8d17342 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 21 Mar 2020 09:35:25 +0100 Subject: [PATCH] Wrong variable name. --- app/Services/Internal/Support/JournalServiceTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,