diff --git a/library/Director/Web/Form/DirectorObjectForm.php b/library/Director/Web/Form/DirectorObjectForm.php index a2552ccc..1e3df209 100644 --- a/library/Director/Web/Form/DirectorObjectForm.php +++ b/library/Director/Web/Form/DirectorObjectForm.php @@ -183,18 +183,10 @@ abstract class DirectorObjectForm extends QuickForm unset($props['vars']); } - $null = array(); foreach ($props as $k => $v) { if (is_bool($v)) { $props[$k] = $v ? 'y' : 'n'; } - if ($v === null) { - $null[] = $k; - } - } - - foreach ($null as $k) { - unset($props[$k]); } $this->setDefaults($props);