diff --git a/datamodels/2.x/itop-request-mgmt/datamodel.itop-request-mgmt.xml b/datamodels/2.x/itop-request-mgmt/datamodel.itop-request-mgmt.xml index 7bb0b8bb16..ee6b03b5ff 100755 --- a/datamodels/2.x/itop-request-mgmt/datamodel.itop-request-mgmt.xml +++ b/datamodels/2.x/itop-request-mgmt/datamodel.itop-request-mgmt.xml @@ -1333,8 +1333,8 @@ $iSvcSubcat = $this->Get('servicesubcategory_id'); if ($iSvcSubcat != 0) { - $sType = $this->Get('servicesubcategory_id->request_type'); - $this->Set('request_type', $sType); + $oSvcSubcat = MetaModel::GetObject(ServiceSubcategory::class, $iSvcSubcat, true, true); + $this->Set('request_type', $oSvcSubcat->Get('request_type'); } }