* Merge #cb13492e95ae,Fix bug #35262.

This commit is contained in:
tanghucheng
2023-11-07 01:04:25 -05:00
parent 8c886c12aa
commit e825977d12
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1209,7 +1209,7 @@ class programplanModel extends model
if(empty($stage) || empty($stage->path)) return false;
$project = $this->loadModel('project')->getByID($stage->project);
if(isset($project->model) && $project->model != 'waterfall' && $project->model != 'waterfallplus') return false;
if(empty($stage) or empty($stage->path) or (!in_array($project->model, array('waterfall','waterfallplus','ipd')))) return false;
$action = strtolower($action);
$parentIdList = explode(',', trim($stage->path, ','));