* Recode programplan getParentStageList.

This commit is contained in:
tanghucheng
2023-09-14 04:22:09 -04:00
parent 1207d32a86
commit 8f471a760b
2 changed files with 14 additions and 10 deletions
+1 -1
View File
@@ -285,7 +285,7 @@ class programplan extends control
$this->view->isCreateTask = $this->programplan->isCreateTask($planID);
$this->view->plan = $plan;
$this->view->project = $this->project->getByID($plan->project);
$this->view->parentStageList = $this->programplan->getParentStageList($this->session->project, $planID, $plan->product);
$this->view->parentStageList = $this->programplan->getParentStageList($plan->project, $planID, $plan->product);
$this->view->enableOptionalAttr = (empty($parentStage) or (!empty($parentStage) and $parentStage->attribute == 'mix'));
$this->view->isTopStage = $this->programplan->checkTopStage($planID);
$this->view->isLeafStage = $this->programplan->checkLeafStage($planID);