* [misc.0.3h] adjust params type for repo and mr page.
This commit is contained in:
@@ -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}");
|
||||
|
||||
Reference in New Issue
Block a user