Skip to content

Commit

Permalink
fixed bread-crumb links for filedetails-view when passing only peg re…
Browse files Browse the repository at this point in the history
…vision (fixed #314)
  • Loading branch information
dirk-thomas committed Mar 6, 2011
1 parent d6d32c3 commit b7df138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filedetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
$vars['age'] = datetimeFormatDuration(time() - strtotime($history->entries[0]->date));
$vars['author'] = $history->entries[0]->author;
}
createPathLinks($rep, $ppath, $passrev, $peg);
createPathLinks($rep, $ppath, !$passrev && $peg ? $rev : $passrev, $peg);
$passRevString = createRevAndPegString($rev, $peg);

if ($rev != $youngest) {
Expand Down

0 comments on commit b7df138

Please sign in to comment.