* Sort the IDs, the child stage comes first, and the parent stage follows.
This commit is contained in:
@@ -2222,8 +2222,6 @@ class execution extends control
|
||||
{
|
||||
$executionIdList = $this->post->executionIDList;
|
||||
if(is_string($executionIdList)) $executionIdList = explode(',', $executionIdList);
|
||||
/* Sub-phases are changed first and then parented. */
|
||||
rsort($executionIdList);
|
||||
|
||||
$pointOutStages = $this->execution->batchChangeStatus($executionIdList, $status);
|
||||
$project = $this->loadModel('project')->getById($projectID);
|
||||
|
||||
Reference in New Issue
Block a user