NULL instead of throwing error when a input field does not exist

This commit is contained in:
Nero 2024-06-17 20:31:07 +00:00
parent 45ddd15ecf
commit 8178640a3b

View File

@ -23,6 +23,6 @@ class FormField {
}
public function loadFromEnv($name) {
$this->value=$_POST[$name];
$this->value=isset($_POST[$name])?$_POST[$name]:null;
}
}