From f4b66b980bd54add06e77122e93a7b3c02e538db Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 13 Jun 2018 08:22:10 +0200 Subject: [PATCH] Prevent index error --- app/Http/Requests/SplitJournalFormRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/SplitJournalFormRequest.php b/app/Http/Requests/SplitJournalFormRequest.php index 207754df5b..bc989b5f7a 100644 --- a/app/Http/Requests/SplitJournalFormRequest.php +++ b/app/Http/Requests/SplitJournalFormRequest.php @@ -91,7 +91,7 @@ class SplitJournalFormRequest extends Request 'currency_id' => $this->integer('journal_currency_id'), 'currency_code' => null, 'description' => $transaction['transaction_description'] ?? '', - 'amount' => $transaction['amount'], + 'amount' => $transaction['amount'] ?? '', 'budget_id' => (int)($transaction['budget_id'] ?? 0.0), 'budget_name' => null, 'category_id' => null,