mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
BaseFormElement: '' is null for now
This commit is contained in:
parent
b3afe670c8
commit
ba47c39c51
@ -130,6 +130,9 @@ abstract class BaseFormElement extends BaseHtmlElement
|
||||
*/
|
||||
public function setValue($value)
|
||||
{
|
||||
if ($value === '') {
|
||||
$value = null;
|
||||
}
|
||||
$this->value = $value;
|
||||
$this->isValid = null;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user