* Fix bug#17251.

This commit is contained in:
xieqiyu
2021-12-08 16:13:42 +08:00
parent c62ce9a159
commit b9a474901f
+1 -1
View File
@@ -298,7 +298,7 @@ class productplan extends control
if($plan->parent == '-1') $this->view->childrenPlans = $this->productplan->getChildren($plan->id);
$this->loadModel('datatable');
$this->view->modulePairs = $this->loadModel('tree')->getOptionMenu($plan->product, 'story');
$this->view->modulePairs = $this->loadModel('tree')->getOptionMenu($plan->product, 'story', 0, $plan->branch);
$this->view->title = "PLAN #$plan->id $plan->title/" . zget($products, $plan->product, '');
$this->view->position[] = $this->lang->productplan->view;
$this->view->planStories = $planStories;