From bf08427c9a5cd150b1de3f11f1ae0e93409edcc5 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Fri, 12 Nov 2021 09:45:43 +0800 Subject: [PATCH] * Modify the cookie of storyModule. --- module/product/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/product/control.php b/module/product/control.php index edf551bb5d..9d409d26cd 100644 --- a/module/product/control.php +++ b/module/product/control.php @@ -155,8 +155,8 @@ class product extends control if($this->cookie->preProductID != $productID or $this->cookie->preBranch != $branch or $browseType == 'bybranch') { - $_COOKIE['storyModule'] = 'all'; - setcookie('storyModule', 'all', 0, $this->config->webRoot, '', $this->config->cookieSecure, false); + $_COOKIE['storyModule'] = 0; + setcookie('storyModule', 0, 0, $this->config->webRoot, '', $this->config->cookieSecure, false); } if($browseType == 'bymodule' or $browseType == '')