* Fix repo links.

This commit is contained in:
zhujinyong
2021-03-26 09:35:30 +08:00
parent 4b46539205
commit 54be2a4b4e
6 changed files with 14 additions and 10 deletions
+1 -1
View File
@@ -35,7 +35,7 @@
foreach($paths as $pathName)
{
$postPath .= $pathName . '/';
echo '/' . ' ' . html::a($this->repo->createLink('browse', "repoID=$repoID&path=" . $this->repo->encodePath($postPath)), trim($pathName, '/'));
echo '/' . ' ' . html::a($this->repo->createLink('browse', "repoID=$repoID&branchID=$branchID&objectID=$objectID&path=" . $this->repo->encodePath($postPath)), trim($pathName, '/'));
}
echo '/' . ' ' . $fileName;
if($repo->SCM == 'Git')