Skip to content

Commit

Permalink
removed some parameters from revision selection form when using multi…
Browse files Browse the repository at this point in the history
…view mode
  • Loading branch information
dirk-thomas committed Feb 10, 2011
1 parent 26a97f5 commit fd0d3ab
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions include/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -534,13 +534,14 @@ function createRevisionSelectionForm() {
if ($rep == null)
return;

$params = array(
'repname' => $rep->getDisplayName(),
);
if ($path === null)
$path = !empty($_REQUEST['path']) ? $_REQUEST['path'] : null;
if ($path && $path != '/')
$params['path'] = $path;
$params = array();
if (!$config->multiViews) {
$params['repname'] = $rep->getDisplayName();
if ($path === null)
$path = !empty($_REQUEST['path']) ? $_REQUEST['path'] : null;
if ($path && $path != '/')
$params['path'] = $path;
}
if ($peg || $rev)
$params['peg'] = ($peg ? $peg : $rev);
$hidden = '';
Expand Down

0 comments on commit fd0d3ab

Please sign in to comment.