mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°8845 - Set request_type regardless of User rights (#777)
* N°8845 - Set request_type regardless of User rights * Update datamodels/2.x/itop-request-mgmt/datamodel.itop-request-mgmt.xml Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com> --------- Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com>
This commit is contained in:
@@ -1333,8 +1333,8 @@
|
|||||||
$iSvcSubcat = $this->Get('servicesubcategory_id');
|
$iSvcSubcat = $this->Get('servicesubcategory_id');
|
||||||
if ($iSvcSubcat != 0)
|
if ($iSvcSubcat != 0)
|
||||||
{
|
{
|
||||||
$sType = $this->Get('servicesubcategory_id->request_type');
|
$oSvcSubcat = MetaModel::GetObject(ServiceSubcategory::class, $iSvcSubcat, true, true);
|
||||||
$this->Set('request_type', $sType);
|
$this->Set('request_type', $oSvcSubcat->Get('request_type');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user