BUG 7717 7421 -> related to DEL_PREVIOUS from APP_DELEGATION table, FIXED!

- fixed -> blame to girish commit 2e97a8
This commit is contained in:
Erik Amaru Ortiz
2011-09-28 12:41:10 -04:00
parent 377e9a99d9
commit ba32c018ae
3 changed files with 27 additions and 16 deletions

View File

@@ -1393,10 +1393,10 @@ class Cases {
* @return void
*/
function newAppDelegation($sProUid, $sAppUid, $sTasUid, $sUsrUid, $sPrevious, $iPriority, $sDelType, $iAppThreadIndex = 1) {
function newAppDelegation($sProUid, $sAppUid, $sTasUid, $sUsrUid, $sPrevious, $iPriority, $sDelType, $iAppThreadIndex = 1, $nextDel=null) {
try {
$appDel = new AppDelegation();
return $appDel->createAppDelegation($sProUid, $sAppUid, $sTasUid, $sUsrUid, $iAppThreadIndex, 3, false, $sPrevious );
return $appDel->createAppDelegation($sProUid, $sAppUid, $sTasUid, $sUsrUid, $iAppThreadIndex, $iPriority, false, $sPrevious, $nextDel);
}
catch (exception $e) {
throw ($e);