From 2220d9493aa4590dc756a78bfa57710d7fe3a2aa Mon Sep 17 00:00:00 2001 From: leiyong <1549684884@qq.com> Date: Mon, 12 Apr 2021 04:59:25 +0300 Subject: [PATCH] * Repair error. --- module/product/control.php | 1 + module/product/model.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/control.php b/module/product/control.php index 6e0820de8d..771f5fd543 100644 --- a/module/product/control.php +++ b/module/product/control.php @@ -78,6 +78,7 @@ class product extends control public function project($status = 'all', $productID = 0, $branch = 0, $involved = 0) { $this->app->loadLang('execution'); + $this->app->loadLang('project'); $this->product->setMenu($productID, $branch); diff --git a/module/product/model.php b/module/product/model.php index 9f34bf7e0b..f7826625f4 100644 --- a/module/product/model.php +++ b/module/product/model.php @@ -436,7 +436,6 @@ class productModel extends model } if($currentMethod == 'report') $currentMethod = 'browse'; - $this->app->loadLang('project'); $currentProductName = $this->lang->product->common; if($productID) {