From 277fe6b473245ce8ac63c9b8a9109d240a3a7808 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Mon, 20 Mar 2023 13:22:07 +0800 Subject: [PATCH] * Fix bug #33080. --- module/story/control.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/module/story/control.php b/module/story/control.php index e98a0e4ed9..a88598b3e2 100755 --- a/module/story/control.php +++ b/module/story/control.php @@ -1903,9 +1903,6 @@ class story extends control $this->story->replaceURLang($story->type); - /* Set menu. */ - $this->product->setMenu($product->id, $story->branch); - /* Set the closed reason options and remove subdivided options. */ $reasonList = $this->lang->story->reasonList; if($story->status == 'draft') unset($reasonList['cancel']); @@ -2327,9 +2324,6 @@ class story extends control $products = $this->product->getPairs(); $product = $this->product->getById($story->product); - /* Set menu. */ - $this->product->setMenu($story->product, $story->branch); - $this->view->title = zget($products, $story->product, '') . $this->lang->colon . $this->lang->story->assign; $this->view->position[] = $this->lang->story->assign; $this->view->story = $story;