Fix in list start case

This commit is contained in:
Ronald Quenta
2015-03-04 14:32:11 -04:00
parent 2e0711cea7
commit abcb772202

View File

@@ -55,6 +55,7 @@ class Light
$task->setFormatFieldNameInUppercase(false);
$task->setArrayParamException(array("taskUid" => "act_uid", "stepUid" => "step_uid"));
$response = array();
foreach ($processList as $key => $processInfo) {
$tempTreeChildren = array ();
foreach ($processList[$key] as $keyChild => $processInfoChild) {
@@ -78,7 +79,7 @@ class Light
$tempTreeChildren[] = $tempTreeChild;
}
}
$response = $tempTreeChildren;
$response = array_merge($response, $tempTreeChildren);
}
} catch (\Exception $e) {
throw $e;