Merge branch 'sprint/170_hufangzhou_bug' into 'sprint/170'

* Modify the cookie of storyModule.

See merge request easycorp/zentaopms!424
This commit is contained in:
孙广明
2021-11-12 02:11:00 +00:00
+2 -2
View File
@@ -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 == '')