process permission loading and saving form

This commit is contained in:
girish
2010-12-21 14:52:48 +00:00
parent 98b5a86c5b
commit 8a9ed8d712
2 changed files with 3 additions and 2 deletions

View File

@@ -5567,7 +5567,7 @@ class processMap {
$_DBArray ['allInputs'] = $aAllInputs;
$_DBArray ['allOutputs'] = $aAllOutputs;
$_SESSION ['_DBArray'] = $_DBArray;
return($_SESSION['_DBArray']);
return $_SESSION['_DBArray']['usersGroups'];
}
}

View File

@@ -74,6 +74,7 @@ class Xpdl extends processes
* @return boolean
*/
function updateProcessFromDataXpdl ($oData, $tasks ) {
if(is_array($oData->process))
$this->updateProcessRow ($oData->process );
$this->removeProcessRows ($oData->process['PRO_UID'] );
$uid = $this->createProcessRow($oData->process);