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);
|
||||
} else {
|
||||
$object->replaceWith(
|
||||
IcingaObject::createByType($type, $data)
|
||||
IcingaObject::createByType($type, $data, $db)
|
||||
);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue