mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 08:14:04 +02:00
ObjectController: fix inheritance for PUT-replace
This commit is contained in:
parent
c62b008df8
commit
e854522d22
@ -282,7 +282,7 @@ abstract class ObjectController extends ActionController
|
|||||||
$object->setProperties($data);
|
$object->setProperties($data);
|
||||||
} else {
|
} else {
|
||||||
$object->replaceWith(
|
$object->replaceWith(
|
||||||
IcingaObject::createByType($type, $data)
|
IcingaObject::createByType($type, $data, $db)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user