* [misc.0.3h] adjust params type for repo and mr page.

This commit is contained in:
caoyanyi
2024-06-17 18:38:29 +08:00
committed by 田淑杰
parent 665bebfb90
commit 42cbfc46be
4 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ $inModal = isInModal() || !empty($fromModal);
$entry = count($diffs) ? $diffs[0]->fileName : '';
$currentEntry = $this->repo->encodePath($entry);
$fileInfo = $entry ? pathinfo($entry) : array();
$showBug = isset($showBug) ? $showBug : true;
$showBug = isset($showBug) ? $showBug : 0;
$objectID = isset($objectID) ? $objectID : 0;
$tree = $this->repo->getFileTree($repo, '', $diffs);
$diffLink = $this->repo->createLink('diff', "repoID=$repoID&objectID=$objectID&entry=" . $file . "&oldrevision={oldRevision}&newRevision={newRevision}");