mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 11:08:28 +00:00
Introduced a tiny bug by introducing NULL.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user