From b9a474901fa0afe63eb5c552b267654ab7511069 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Wed, 8 Dec 2021 16:13:42 +0800 Subject: [PATCH] * Fix bug#17251. --- module/productplan/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/productplan/control.php b/module/productplan/control.php index dd6e49e9a9..5a1721f66e 100644 --- a/module/productplan/control.php +++ b/module/productplan/control.php @@ -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;