* Recode programplan getParentStageList.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user