From 9884fe8e57b8d92c3562b4e7567670ad4fefdaab Mon Sep 17 00:00:00 2001 From: hufangzhou <746775970@qq.com> Date: Mon, 4 Jan 2021 16:36:12 +0800 Subject: [PATCH] * Adjust the product branch switcher of the productplan and release. --- module/productplan/control.php | 2 +- module/release/control.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/productplan/control.php b/module/productplan/control.php index 490eb4ae00..50a799d61c 100644 --- a/module/productplan/control.php +++ b/module/productplan/control.php @@ -23,7 +23,7 @@ class productplan extends control public function commonAction($productID, $branch = 0) { $this->lang->product->menu = $this->lang->product->viewMenu; - $this->lang->product->switcherMenu = $this->loadModel('product')->getSwitcher($productID); + $this->lang->product->switcherMenu = $this->loadModel('product')->getSwitcher($productID, '', $branch); $this->lang->product->mainMenuAction = $this->product->getProductMainAction(); $this->loadModel('product'); diff --git a/module/release/control.php b/module/release/control.php index d6beaa5f33..0e9cf2037c 100644 --- a/module/release/control.php +++ b/module/release/control.php @@ -22,7 +22,7 @@ class release extends control public function commonAction($productID, $branch = 0) { $this->lang->product->menu = $this->lang->product->viewMenu; - $this->lang->product->switcherMenu = $this->loadModel('product')->getSwitcher($productID); + $this->lang->product->switcherMenu = $this->loadModel('product')->getSwitcher($productID, '', $branch); $this->lang->product->mainMenuAction = $this->product->getProductMainAction(); $this->loadModel('product');