* adjust for locate url.

This commit is contained in:
wangyidong
2021-07-19 15:11:42 +08:00
parent afa59e5190
commit 9fcf997f96
+1 -1
View File
@@ -871,7 +871,7 @@ class repo extends control
$this->view->repoID = $repoID;
$this->view->objectID = $objectID;
$this->view->branch = $branch;
$this->view->browseLink = $this->repo->createLink('browse', "repoID=$repoID&branchID=$branch&objectID=$objectID", '', false);
$this->view->browseLink = $this->repo->createLink('browse', "repoID=" . ($this->app->openApp == 'devops' ? $repoID : '') . "&branchID=$branch&objectID=$objectID", '', false);
$this->display();
}