PMCORE-3856

This commit is contained in:
Paula.Quispe
2022-05-25 09:56:09 -04:00
committed by Mauricio Veliz
parent 824ead24fe
commit 7bb67a97bd
20 changed files with 64 additions and 9 deletions

View File

@@ -657,9 +657,12 @@ class Cases
$threadDescription = '';
if (!empty($appNumber) && !empty($delIndex)) {
$thread = Delegation::getThreadInfo($appNumber, $delIndex);
$previous = $thread['DEL_PREVIOUS'];
$appNumber = $thread['APP_NUMBER'];
$tasUid = $thread['TAS_UID'];
$tasUid = '';
if (!empty($thread)) {
$previous = $thread['DEL_PREVIOUS'];
$appNumber = $thread['APP_NUMBER'];
$tasUid = $thread['TAS_UID'];
}
if (!empty($tasUid)) {
$response = Delegation::getThreadTitle($tasUid, $appNumber, $previous, $caseData);
$threadTitle = $response['title'];