* Fix bug.

This commit is contained in:
leiyong
2020-11-03 11:18:30 +08:00
parent d308a7e9ea
commit 75277b62b9
+2
View File
@@ -46,6 +46,8 @@ class design extends control
{
/* Save session for design list and process product id. */
$this->session->set('designList', $this->app->getURI(true));
$productKeys = array_keys($this->products);
if(!in_array($productID, $productKeys)) $productID = key($this->products);
$this->design->setProductMenu($productID);
/* Build the search form. */