Merge branch 'sprint/174_tianshujie_error' into 'master'
* Fix the problem that cookic is not updated in time. See merge request easycorp/zentaopms!753
This commit is contained in:
@@ -161,6 +161,7 @@ class productModel extends model
|
||||
|
||||
if($this->cookie->preProductID != $this->session->product)
|
||||
{
|
||||
$this->cookie->set('preBranch', 0);
|
||||
setcookie('preBranch', 0, $this->config->cookieLife, $this->config->webRoot, '', $this->config->cookieSecure, true);
|
||||
}
|
||||
return $this->session->product;
|
||||
|
||||
Reference in New Issue
Block a user