* [bug#53346,done,0.1h,0h] fix the issue of switching code libraries.

This commit is contained in:
zhaixiaojian
2024-08-02 08:46:23 +08:00
committed by 丁国栋
parent 526ff13acb
commit d5eadb5627
+1 -2
View File
@@ -596,7 +596,6 @@ class repo extends control
$this->view->repoPairs = $this->repo->getRepoPairs($this->app->tab, $objectID);
$this->view->branches = $branches;
$this->view->tags = $tags;
$this->view->branchID = $branchID;
$this->view->branchOrTag = $branchOrTag;
$this->view->source = $source;
$this->display();
@@ -1364,7 +1363,7 @@ class repo extends control
if($projectID)
{
if($method == 'browse') $params = "&branchID=&objectID=$projectID";
if(in_array($method, array('browsetag', 'browsebranch'))) $params = "&objectID=$projectID";
if(in_array($method, array('browsetag', 'browsebranch', 'log'))) $params = "&objectID=$projectID";
}
/* Get repo group by type. */