ObjectController: fix inheritance for PUT-replace

This commit is contained in:
Thomas Gelf 2016-02-03 10:28:01 +01:00
parent c62b008df8
commit e854522d22
1 changed files with 1 additions and 1 deletions

View File

@ -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 {