Set session variable with the UID of the process when load the process map

This commit is contained in:
Julio Cesar Laura
2012-09-18 09:44:52 -04:00
parent 70b37621e1
commit f9bf485c52
2 changed files with 19 additions and 20 deletions

View File

@@ -371,8 +371,6 @@ class processMap {
$oPM->taskOptions[]=$taskOption;
}
$_SESSION['PROCESS'] = $sProcessUID;
$oJSON = new Services_JSON();
return $oJSON->encode($oPM);
} catch (Exception $oError) {

View File

@@ -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);
}