mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-04 11:43:02 +00:00
Introduced a tiny bug by introducing NULL.
This commit is contained in:
@@ -195,7 +195,7 @@ class Form
|
|||||||
*/
|
*/
|
||||||
if(\Session::has('prefilled')) {
|
if(\Session::has('prefilled')) {
|
||||||
$prefilled = \Session::get('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