* Finish task#8663.

This commit is contained in:
leiyong
2020-12-17 09:04:05 +08:00
parent 2c4d89ed45
commit f30d0a990e

View File

@@ -1334,8 +1334,8 @@ class story extends control
/* Set menu. The projectstory module does not execute. */
if($this->app->rawModule == 'story')
{
$products = $this->product->getPairs();
$this->lang->product->menu = $this->lang->product->viewMenu;
$products = $this->product->getPairs();
$productID = $this->product->saveState($productID, $products);
$this->lang->product->switcherMenu = $this->product->getSwitcher($productID, '', $branch);
$this->product->setMenu($products, $productID, $branch);