* qaModel: remove unnecessary parameters.

This commit is contained in:
liugang
2023-09-15 09:22:17 +08:00
parent 2fab4871d5
commit 547af0908a
+1 -1
View File
@@ -29,7 +29,7 @@ class qaModel extends model
if($this->session->branch) $branch = $this->session->branch;
if($this->cookie->preBranch !== '' and $branch === '') $branch = $this->cookie->preBranch;
helper::setcookie('preBranch', $branch, $this->config->cookieLife, $this->config->webRoot, '', $this->config->cookieSecure, true);
helper::setcookie('preBranch', $branch);
$product = $this->loadModel('product')->getByID($productID);
if($product and $product->type != 'normal') $this->lang->product->branch = sprintf($this->lang->product->branch, $this->lang->product->branchName[$product->type]);