* Only waterfall or waterfallplus project needs to update associated products.

This commit is contained in:
liumengyi
2024-02-21 16:02:03 +08:00
parent bc51ad2682
commit 8f6689c551
+1 -1
View File
@@ -1070,7 +1070,7 @@ class projectZen extends project
/* 如果是瀑布项目单套阶段,更新关联产品。*/
/* If it is a single stage of the waterfall project, update associated products. */
if($project->stageBy == 'project')
if($project->stageBy == 'project' && in_array($project->model, array('waterfall', 'waterfallplus')))
{
foreach($IdList as $executionID)
{