PMC-151
This commit is contained in:
@@ -415,6 +415,7 @@ class Light
|
||||
|
||||
$oCase = new Cases();
|
||||
$Fields = $oCase->loadCase($cas_uid);
|
||||
//@todo Find a better way to define session variables
|
||||
$_SESSION["APPLICATION"] = $cas_uid;
|
||||
$_SESSION["PROCESS"] = $prj_uid;
|
||||
$_SESSION["TASK"] = $act_uid;
|
||||
@@ -453,6 +454,7 @@ class Light
|
||||
try {
|
||||
$oCase = new Cases();
|
||||
$Fields = $oCase->loadCase($app_uid);
|
||||
//@todo Find a better way to define session variables
|
||||
$_SESSION["APPLICATION"] = $app_uid;
|
||||
$_SESSION["PROCESS"] = $Fields['PRO_UID'];
|
||||
$_SESSION["TASK"] = $tas_uid;
|
||||
|
||||
@@ -1038,6 +1038,7 @@ class Light extends Api
|
||||
}
|
||||
|
||||
$userUid = $this->getUserId();
|
||||
//@todo Find a better way to define session variables
|
||||
$_SESSION["APPLICATION"] = $app_uid;
|
||||
$_SESSION["PROCESS"] = $pro_uid;
|
||||
//$_SESSION["TASK"] = "";
|
||||
@@ -2009,6 +2010,7 @@ class Light extends Api
|
||||
if ($alreadyRouted) {
|
||||
throw (new RestException(Api::STAT_APP_EXCEPTION, G::LoadTranslation('ID_CASE_DELEGATION_ALREADY_CLOSED')));
|
||||
}
|
||||
//@todo Find a better way to define session variables
|
||||
$_SESSION["APPLICATION"] = $app_uid;
|
||||
$_SESSION["PROCESS"] = $pro_uid;
|
||||
$_SESSION["INDEX"] = $app_index;
|
||||
|
||||
Reference in New Issue
Block a user