mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 08:44:11 +02:00
IcingaObject: fix argument setter
This commit is contained in:
parent
675be400d1
commit
a49f163ca2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user