Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix trim when null [skip ci]
James Cole13f952f182fc
diff --git a/app/Http/Requests/JournalFormRequest.php b/app/Http/Requests/JournalFormRequest.phpindex 49bb2e69a3..abce71e17c 100644--- a/app/Http/Requests/JournalFormRequest.php+++ b/app/Http/Requests/JournalFormRequest.php@@ -64,8 +64,8 @@ class JournalFormRequest extends Request'due_date' => $this->getDateOrNull('due_date'),'payment_date' => $this->getDateOrNull('payment_date'),'invoice_date' => $this->getDateOrNull('invoice_date'),- 'internal_reference' => trim($this->get('internal_reference')),- 'notes' => trim($this->get('notes')),+ 'internal_reference' => trim(strval($this->get('internal_reference'))),+ 'notes' => trim(strval($this->get('notes'))),];}