diff --git a/library/Director/Web/Form/QuickForm.php b/library/Director/Web/Form/QuickForm.php index 80ac2643..9b633ea2 100644 --- a/library/Director/Web/Form/QuickForm.php +++ b/library/Director/Web/Form/QuickForm.php @@ -57,7 +57,7 @@ abstract class QuickForm extends Zend_Form public function __construct($options = null) { - if (array_key_exists('icingaModule', $options)) { + if ($options !== null && array_key_exists('icingaModule', $options)) { $this->icingaModule = $options['icingaModule']; unset($options['icingaModule']); }