mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 23:08:46 +02:00
Set "portal" as the origin of user requests created from the portal.
SVN:trunk[2511]
This commit is contained in:
@@ -343,6 +343,10 @@ function DoCreateRequest($oP, $oUserOrg)
|
||||
{
|
||||
$oRequest->Set(PORTAL_ATTCODE_TYPE, $oServiceSubCategory->Get(PORTAL_SET_TYPE_FROM));
|
||||
}
|
||||
if (MetaModel::IsValidAttCode('UserRequest', 'origin'))
|
||||
{
|
||||
$oRequest->Set('origin', 'portal');
|
||||
}
|
||||
|
||||
/////$oP->DoUpdateObjectFromPostedForm($oObj);
|
||||
$oAttPlugin = new AttachmentPlugIn();
|
||||
|
||||
Reference in New Issue
Block a user