* Adjust product get logic.

This commit is contained in:
caoyanyi
2023-09-22 14:44:10 +08:00
parent e3b1cd6e5c
commit a83ca72c43
+1 -1
View File
@@ -300,7 +300,7 @@ class productplan extends control
$viewType = $this->cookie->viewType ? $this->cookie->viewType : 'list';
$this->commonAction($productID, $branch);
$product = $this->product->getById($productID);
$product = $this->view->product;
$productName = empty($product) ? '' : $product->name;
/* Build the search form. */