mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-05-28 04:35:53 -04:00
ExtensibleSet: do not array-filter when null
This commit is contained in:
parent
b3a1d54870
commit
eb52918711
1 changed files with 3 additions and 1 deletions
|
|
@ -32,7 +32,9 @@ class ExtensibleSet extends FormElement
|
|||
|
||||
protected function _filterValue(&$value, &$key)
|
||||
{
|
||||
$value = array_filter($value, 'strlen');
|
||||
if ($value !== null) {
|
||||
$value = array_filter($value, 'strlen');
|
||||
}
|
||||
return parent::_filterValue($value, $key);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue