Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Update JournalRepository.php
James Coleec73607974ef
diff --git a/app/Repositories/Journal/JournalRepository.php b/app/Repositories/Journal/JournalRepository.phpindex 58bde274d0..84e964735c 100644--- a/app/Repositories/Journal/JournalRepository.php+++ b/app/Repositories/Journal/JournalRepository.php@@ -196,7 +196,7 @@ class JournalRepository implements JournalRepositoryInterface$journal->save();// store stuff:- $this->storeCategoryWithJournal($journal, $data['category']);+ $this->storeCategoryWithJournal($journal, strval($data['category']));$this->storeBudgetWithJournal($journal, $data['budget_id']);// store two transactions:@@ -271,7 +271,7 @@ class JournalRepository implements JournalRepositoryInterface$journal->categories()->detach();$journal->budgets()->detach();- $this->storeCategoryWithJournal($journal, $data['category']);+ $this->storeCategoryWithJournal($journal, strval($data['category']));$this->storeBudgetWithJournal($journal, $data['budget_id']);// negative because source loses money.