Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Introduced a tiny bug by introducing NULL.
Sander Dorigo0ef5825d98de
diff --git a/app/lib/Firefly/Form/Form.php b/app/lib/Firefly/Form/Form.phpindex 9673ea9172..6414fd983e 100644--- a/app/lib/Firefly/Form/Form.php+++ b/app/lib/Firefly/Form/Form.php@@ -195,7 +195,7 @@ class Form*/if(\Session::has('prefilled')) {$prefilled = \Session::get('prefilled');- $value = isset($prefilled[$name]) ? $prefilled[$name] : null;+ $value = isset($prefilled[$name]) && is_null($value) ? $prefilled[$name] : $value;}/*