PMCORE-3239

This commit is contained in:
Paula Quispe
2021-08-23 10:26:42 -04:00
parent d80b402216
commit d01a5cac8e

View File

@@ -1050,7 +1050,8 @@ class Cases
}
// Check if the case is unassigned
if ($this->isUnassignedPauseCase($appUid, $index)) {
$classCases = new ClassesCases();
if ($classCases->isUnassignedPauseCase($appUid, $index)) {
throw new Exception(G::LoadTranslation("ID_CASE_NOT_PAUSED", [G::LoadTranslation("ID_UNASSIGNED_STATUS")]));
}