* [bug#65900,done,0.1h] fix create milestone report when the project's model isn't waterfall,waterfallplus,ipd.

This commit is contained in:
tianshujie
2025-09-29 09:45:10 +08:00
parent ba6b8cc935
commit 09fc349384
+1 -1
View File
@@ -1232,7 +1232,7 @@ class projectModel extends model
$program = $project->parent ? $this->getByID((int)$project->parent) : new stdclass();
$this->projectTao->createDocLib($projectID, $project, $program);
$this->addTeamMembers($projectID, $project, array($project->openedBy));
$this->projectTao->createMilestoneReport($projectID);
if(in_array($project->model, array('waterfall', 'waterfallplus', 'ipd'))) $this->projectTao->createMilestoneReport($projectID);
if($project->hasProduct && empty($postData->rawdata->newProduct))
{