* Adjust menu.

This commit is contained in:
zhujinyong
2021-03-22 12:33:05 +08:00
parent 82428349ad
commit a0aa5d1ef5
4 changed files with 10 additions and 10 deletions

View File

@@ -103,7 +103,7 @@ class bug extends control
/* Set productID, moduleID, queryID and branch. */
if(!$this->projectID) $productID = $this->product->saveState($productID, $this->products);
$branch = ($branch == '') ? (int)$this->cookie->preBranch : (int)$branch;
$branch = ($branch == '') ? (int)$this->cookie->preBranch : (int)$branch;
setcookie('preProductID', $productID, $this->config->cookieLife, $this->config->webRoot, '', false, true);
setcookie('preBranch', (int)$branch, $this->config->cookieLife, $this->config->webRoot, '', false, true);