* [bug#65900,done,0.1h] fix create milestone report when the project's model isn't waterfall,waterfallplus,ipd.
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user