From 2586fa9717e781b225f1ddfc6af75beb2acfa695 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Mon, 8 May 2023 20:35:13 +0800 Subject: [PATCH] * Just modify function to ensure page can load. --- module/bug/control.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/bug/control.php b/module/bug/control.php index 28e17b20b4..bb5d4898f3 100755 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -102,7 +102,7 @@ class bug extends control { $this->loadModel('datatable'); - $productID = $this->product->saveState($productID, $this->products); + $productID = $this->product->saveVisitState($productID, $this->products); $product = $this->product->getById($productID); if($product->type != 'normal') { @@ -375,7 +375,7 @@ class bug extends control $this->bugZen->setMenu4Create($productID, $branch, $output); - $productID = $this->product->saveState($productID, $this->products); + $productID = $this->product->saveVisitState($productID, $this->products); $currentProduct = $this->product->getById($productID); if($branch === '') $branch = (int)$this->cookie->preBranch; @@ -521,7 +521,7 @@ class bug extends control } /* Get product, then set menu. */ - $productID = $this->product->saveState($productID, $this->products); + $productID = $this->product->saveVisitState($productID, $this->products); if($branch === '') $branch = (int)$this->cookie->preBranch; $this->qa->setMenu($this->products, $productID, $branch);