* Fix an error when setting stage.

This commit is contained in:
tianshujie
2023-10-23 11:21:31 +08:00
parent b796a86892
commit 33d47cd4a4
+1 -1
View File
@@ -813,7 +813,7 @@ class programplanModel extends model
$this->computeProgress($stageID, 'create');
}
}
$this->execution->updateProducts($stageID);
$this->execution->updateProducts($stageID, $_POST);
/* If child plans has milestone, update parent plan set milestone eq 0 . */
if($parentID and $milestone) $this->dao->update(TABLE_PROJECT)->set('milestone')->eq(0)->where('id')->eq($parentID)->exec();