This commit is contained in:
tanghucheng
2023-09-19 22:54:50 -04:00
parent 0b6c8f3330
commit fa8b2cebbd
3 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -1629,7 +1629,7 @@ class programplanModel extends model
{
$stage = $this->loadModel('execution')->getByID($stageID);
$project = $this->loadModel('project')->getByID($stage->project);
if(empty($stage) or empty($stage->path) or (!in_array($project->model, array('waterfall','waterfallplus','ipd')))) return false;
if(empty($stage) or empty($stage->path) or (!in_array($project->model, array('waterfall','waterfallplus','ipd', 'research')))) return false;
$this->loadModel('execution');
$this->loadModel('action');