Merged in bugfix/PMCORE-1880 (pull request #7853)

PMCORE-1880

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Paula Quispe
2021-03-29 21:14:03 +00:00
committed by Julio Cesar Laura Avendaño
3 changed files with 6 additions and 6 deletions

View File

@@ -4275,7 +4275,7 @@ class Cases
$query->where('APPLICATION.APP_UID', '=', $appUid);
// Filter by source task
if ($caseStatus != 'COMPLETED' && $sourceTask != '' && (int)$sourceTask != 0) {
if (!empty($sourceTask) && (int)$sourceTask != 0) {
$query->where('STEP.TAS_UID', '=', $sourceTask);
}