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');