Introduced a tiny bug by introducing NULL.

This commit is contained in:
Sander Dorigo
2014-10-08 21:29:28 +02:00
parent 1e76a5fc3f
commit 0ef5825d98

View File

@@ -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;
}
/*