mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	| @@ -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. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user