Merged in darojas/processmaker/PM-1403 (pull request #1354)

PM-1403 "Subprocesos muestran un error al momento de hacer correr el caso" SOLVED
This commit is contained in:
Julio Cesar Laura Avendaño
2015-01-23 15:42:01 -04:00

View File

@@ -988,10 +988,11 @@ class Cases
if (isset($Fields["APP_STATUS"]) && $Fields["APP_STATUS"] == "COMPLETED") {
if (isset($Fields['CURRENT_USER_UID'])) {
$Fields['USR_UID'] = $Fields['CURRENT_USER_UID'];
/*This "list" code is discussed to operate with sub-processes. It should adjust the code for operation with sub-processes.
$listCompleted = new ListCompleted();
$listCompleted->create($Fields);
$listMyInbox = new ListMyInbox();
$listMyInbox->refresh($Fields);
$listMyInbox->refresh($Fields);*/
}
}
$oApp->update($Fields);