diff --git a/module/productplan/control.php b/module/productplan/control.php index 2fdecf37de..aaa4f4238b 100644 --- a/module/productplan/control.php +++ b/module/productplan/control.php @@ -298,6 +298,7 @@ class productplan extends control $viewType = $this->cookie->viewType ? $this->cookie->viewType : 'list'; $this->commonAction($productID, $branch); + $product = $this->product->getById($productID); $productName = empty($product) ? '' : $product->name; $branchList = $this->branch->getList($productID, 0, 'all'); $branchStatusList = array();