BUG 6357 this bug was fixed
This issue is happening, this is happening when you create a output document and go back to previous step or leave a case, it created a duplicates and it shows function ereg_replace() is deprecated. I have fixed these and it's working fine, however there are some deprecated errors which are into ..thirdparty/html2ps_pdf, then we are going to wait the solucion from html2ps_pdf
This commit is contained in:
@@ -57,12 +57,12 @@ if ($_SESSION ['TRIGGER_DEBUG'] ['NUM_TRIGGERS'] != 0) {
|
||||
$_SESSION ['TRIGGER_DEBUG'] ['TRIGGERS_NAMES'] = $oCase->getTriggerNames ( $triggers );
|
||||
$_SESSION ['TRIGGER_DEBUG'] ['TRIGGERS_VALUES'] = $triggers;
|
||||
}
|
||||
|
||||
/*
|
||||
if ($_SESSION ['TRIGGER_DEBUG'] ['NUM_TRIGGERS'] != 0) {
|
||||
//Execute after triggers - Start
|
||||
$Fields ['APP_DATA'] = $oCase->ExecuteTriggers ( $_SESSION ['TASK'], 'DYNAFORM', $_GET ['UID'], 'AFTER', $Fields ['APP_DATA'] );
|
||||
//Execute after triggers - End
|
||||
}
|
||||
}*/
|
||||
|
||||
//save data in PM Tables if necessary
|
||||
$newValues = array ();
|
||||
@@ -220,7 +220,11 @@ if (isset ( $_FILES ['form'] )) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($_SESSION ['TRIGGER_DEBUG'] ['NUM_TRIGGERS'] != 0) {
|
||||
//Execute after triggers - Start
|
||||
$Fields ['APP_DATA'] = $oCase->ExecuteTriggers ( $_SESSION ['TASK'], 'DYNAFORM', $_GET ['UID'], 'AFTER', $Fields ['APP_DATA'] );
|
||||
//Execute after triggers - End
|
||||
}
|
||||
//go to the next step
|
||||
$aNextStep = $oCase->getNextStep ( $_SESSION ['PROCESS'], $_SESSION ['APPLICATION'], $_SESSION ['INDEX'], $_SESSION ['STEP_POSITION'] );
|
||||
if (isset ( $_GET ['_REFRESH_'] )) {
|
||||
|
||||
Reference in New Issue
Block a user