This commit is contained in:
mayue
2021-12-02 09:20:37 +08:00
parent eec94fd383
commit 63d4d3dad8
10 changed files with 23 additions and 22 deletions
+2 -2
View File
@@ -205,7 +205,7 @@ class bug extends control
$product = $this->product->getById($productID);
/* Display of branch label. */
$isShowBranch = $this->loadModel('branch')->isShowBranch($productID);
$showBranch = $this->loadModel('branch')->showBranch($productID);
/* Set view. */
$this->view->title = $productName . $this->lang->colon . $this->lang->bug->common;
@@ -237,7 +237,7 @@ class bug extends control
$this->view->setModule = true;
$this->view->isProjectBug = ($productID and !$this->projectID) ? false : true;
$this->view->modulePairs = $showModule ? $this->tree->getModulePairs($productID, 'bug', $showModule) : array();
$this->view->isShowBranch = $isShowBranch;
$this->view->showBranch = $showBranch;
$this->display();
}