mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 00:34:05 +02:00
IcingaObject: fix host merge test
This commit is contained in:
parent
dd23380363
commit
a3a17df437
@ -1120,7 +1120,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
||||
$object = clone($object);
|
||||
$vars = $object->getVars();
|
||||
$object->vars = array();
|
||||
$this->setProperties((array) $object->toPlainObject());
|
||||
$this->setProperties((array) $object->toPlainObject(null, true));
|
||||
$myVars = $this->vars();
|
||||
foreach ($vars as $key => $var) {
|
||||
$myVars->set($key, $var);
|
||||
|
Loading…
x
Reference in New Issue
Block a user