From 8fccef5df357d3a4f9549a3f66d867baac3c2e32 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 1 Dec 2015 15:31:24 +0800 Subject: [PATCH] * fix bug #773. --- module/bug/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/bug/control.php b/module/bug/control.php index 666bf90619..a066f431d5 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -585,7 +585,7 @@ class bug extends control $this->view->plans = $this->loadModel('productplan')->getPairs($productID, $bug->branch); $this->view->moduleOptionMenu = $this->tree->getOptionMenu($productID, $viewType = 'bug', $startModuleID = 0, $bug->branch); $this->view->currentModuleID = $currentModuleID; - $this->view->projects = $this->product->getProjectPairs($bug->product); + $this->view->projects = $this->product->getProjectPairs($bug->product, $bug->branch); $this->view->stories = $bug->project ? $this->story->getProjectStoryPairs($bug->project) : $this->story->getProductStoryPairs($bug->product, $bug->branch); $this->view->branches = $this->session->currentProductType == 'normal' ? array() : $this->loadModel('branch')->getPairs($bug->product); $this->view->tasks = $this->task->getProjectTaskPairs($bug->project);