Skip to content

Commit 5096f8a

Browse files
committed
N°8845 - Set request_type regardless of User rights
1 parent 2e8b48c commit 5096f8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datamodels/2.x/itop-request-mgmt/datamodel.itop-request-mgmt.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,8 +1333,8 @@
13331333
$iSvcSubcat = $this->Get('servicesubcategory_id');
13341334
if ($iSvcSubcat != 0)
13351335
{
1336-
$sType = $this->Get('servicesubcategory_id->request_type');
1337-
$this->Set('request_type', $sType);
1336+
$oSvcSubcat = MetaModel::GetObject("ServiceSubcategory", $iSvcSubcat, true, true);
1337+
$this->Set('request_type', $oSvcSubcat->Get('request_type');
13381338
}
13391339
}
13401340

0 commit comments

Comments
 (0)