From 98a7da512fbd51036dcb2a740dfe3e3bd87acd15 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 7 Nov 2019 13:53:30 +0800 Subject: [PATCH] * fix bug #2064. --- module/product/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/control.php b/module/product/control.php index 0738b88857..979206e23a 100644 --- a/module/product/control.php +++ b/module/product/control.php @@ -451,7 +451,7 @@ class product extends control $this->session->set('productPlanList', $this->app->getURI(true)); $product = $this->dao->findById($productID)->from(TABLE_PRODUCT)->fetch(); - if(empty($product)) $this->locate($this->createLink('product', 'index')); + if(empty($product)) $this->locate($this->createLink('product', 'showErrorNone', 'fromModule=product')); $this->view->title = $product->name . $this->lang->colon . $this->lang->product->roadmap; $this->view->position[] = html::a($this->createLink($this->moduleName, 'browse'), $product->name);