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:
julceslauhub
2012-09-18 06:47:07 -07:00
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);
}