Fix in list start case
This commit is contained in:
@@ -55,6 +55,7 @@ class Light
|
|||||||
$task->setFormatFieldNameInUppercase(false);
|
$task->setFormatFieldNameInUppercase(false);
|
||||||
$task->setArrayParamException(array("taskUid" => "act_uid", "stepUid" => "step_uid"));
|
$task->setArrayParamException(array("taskUid" => "act_uid", "stepUid" => "step_uid"));
|
||||||
|
|
||||||
|
$response = array();
|
||||||
foreach ($processList as $key => $processInfo) {
|
foreach ($processList as $key => $processInfo) {
|
||||||
$tempTreeChildren = array ();
|
$tempTreeChildren = array ();
|
||||||
foreach ($processList[$key] as $keyChild => $processInfoChild) {
|
foreach ($processList[$key] as $keyChild => $processInfoChild) {
|
||||||
@@ -78,7 +79,7 @@ class Light
|
|||||||
$tempTreeChildren[] = $tempTreeChild;
|
$tempTreeChildren[] = $tempTreeChild;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$response = $tempTreeChildren;
|
$response = array_merge($response, $tempTreeChildren);
|
||||||
}
|
}
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
throw $e;
|
throw $e;
|
||||||
|
|||||||
Reference in New Issue
Block a user