PMCORE-2879: Cancel Case button does not work when it comes from a email link with new UI

remove debugger
This commit is contained in:
Rodrigo Quelca
2021-04-07 20:53:50 +00:00
parent 5af70bbf9b
commit 6c35cc2fdf
5 changed files with 50 additions and 56 deletions

View File

@@ -90,13 +90,12 @@ if (isset($_SESSION['__OPEN_APPLICATION_UID__'])) {
exit();
}
}
$appNumber = Application::getCaseNumber($openAppUid);
if (count($arrayDelIndex) === 1) {
//We will to open the case: one thread
$openCaseIE = true;
$defaultOption = '../cases/open?APP_UID=' . $openAppUid . '&DEL_INDEX=' . $arrayDelIndex[0] . '&action=' . $action;
$defaultOption = '../cases/open?APP_UID=' . $openAppUid . '&DEL_INDEX=' . $arrayDelIndex[0] . '&action=' . $action . '&openApplicationUid=' . $appNumber;
} else {
$appNumber = Application::getCaseNumber($openAppUid);
//We will to show the list: more than one thread
$defaultOption = '../cases/casesListExtJs?action=' . $action . '&openApplicationUid=' . $appNumber;
}