Merge pull request #572 from julceslauhub/master
Set session variable with the UID of the process when load the process map
This commit is contained in:
@@ -371,8 +371,6 @@ class processMap {
|
||||
$oPM->taskOptions[]=$taskOption;
|
||||
}
|
||||
|
||||
$_SESSION['PROCESS'] = $sProcessUID;
|
||||
|
||||
$oJSON = new Services_JSON();
|
||||
return $oJSON->encode($oPM);
|
||||
} catch (Exception $oError) {
|
||||
|
||||
@@ -49,6 +49,7 @@ try {
|
||||
switch($_REQUEST['action'])
|
||||
{
|
||||
case 'load':
|
||||
$_SESSION['PROCESS'] = $oData->uid;
|
||||
if ($oData->ct) {
|
||||
$sOutput = $oProcessMap->load($oData->uid, true, $_SESSION['APPLICATION'], -1, $_SESSION['TASK'], $oData->ct);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user