Prevent index error

This commit is contained in:
James Cole 2018-06-13 08:22:10 +02:00 committed by GitHub
parent 281de63e0d
commit f4b66b980b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,