diff --git a/library/Director/Objects/IcingaObject.php b/library/Director/Objects/IcingaObject.php index c41ebd3e..9dc2b6e0 100644 --- a/library/Director/Objects/IcingaObject.php +++ b/library/Director/Objects/IcingaObject.php @@ -379,7 +379,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer return $this; } - if ($this->propertyIsBoolean($key) && $value !== null) { + if ($this->propertyIsBoolean($key)) { return parent::set($key, $this->normalizeBoolean($value)); } @@ -417,7 +417,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer protected function setArguments($value) { - $this->arguments->setArguments($value); + $this->arguments()->setArguments($value); return $this; }