BUG 6512 SOLVED.

Fixed notice and warning about events.
This commit is contained in:
Enrique Ponce De Leon
2011-04-11 18:24:27 -04:00
parent 7dbe5397d4
commit ca12784306
2 changed files with 10 additions and 3 deletions

View File

@@ -149,9 +149,10 @@ class Event extends BaseEvent {
//start the transaction //start the transaction
$oConnection->begin(); $oConnection->begin();
if (isset($aData['EVN_TYPE'])){
if($aData['EVN_TYPE']==='bpmnEventEmptyEnd') if($aData['EVN_TYPE']==='bpmnEventEmptyEnd')
unset($aData['TRI_UID']); unset($aData['TRI_UID']);
}
if(isset($aData['TRI_UID'])) if(isset($aData['TRI_UID']))
{ {
$oTrigger = new Triggers(); $oTrigger = new Triggers();

View File

@@ -43,6 +43,12 @@ else {
} }
if (!isset($_SESSION['PROCESS'])){
if (isset($aFields['PRO_UID'])){
$_SESSION['PROCESS'] = $aFields['PRO_UID'];
}
}
$oTasks = new Tasks(); $oTasks = new Tasks();
$aAux1 = $oTasks->getAllTasks($aFields['PRO_UID']); $aAux1 = $oTasks->getAllTasks($aFields['PRO_UID']);
$aTasks = array(); $aTasks = array();