From c027028759df6fb0d39b597752e698582f59409a Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Mon, 8 Nov 2021 16:44:42 +0800 Subject: [PATCH] * Finish task #43899. --- module/productplan/control.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/productplan/control.php b/module/productplan/control.php index 545e355655..472f7c8229 100644 --- a/module/productplan/control.php +++ b/module/productplan/control.php @@ -25,6 +25,8 @@ class productplan extends control $product = $this->loadModel('product')->getById($productID); if(empty($product)) $this->locate($this->createLink('product', 'create')); + $this->lang->product->branch = sprintf($this->lang->product->branch, $this->lang->product->branchName[$product->type]); + $this->app->loadConfig('execution'); $this->product->setMenu($productID, $branch); $this->session->set('currentProductType', $product->type);