* Adjust code.

This commit is contained in:
caoyanyi
2023-01-04 10:12:22 +08:00
parent 8ac4dc8fd4
commit cd17b6d3b2
+2 -2
View File
@@ -427,8 +427,8 @@ class repo extends control
if($repoID == 0) $repoID = $this->session->repoID;
if($revision != 'HEAD')
{
setCookie("repoBranch", $revision, $this->config->cookieLife, $this->config->webRoot, '', false, true);
$this->cookie->repoBranch = $revision;
setCookie("repoBranch", $revision, $this->config->cookieLife, $this->config->webRoot, '', false, true);
$this->cookie->repoBranch = $revision;
}
$this->commonAction($repoID, $objectID);