Skip to content

Commit

Permalink
fixed youngest revision link in listing view (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Mar 6, 2011
1 parent 42d7efc commit 587b65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listing.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ function showTreeDir($svnrep, $path, $rev, $peg, $listing) {
if ($path == '/') {
$vars['goyoungesturl'] = $config->getURL($rep, '', 'dir');
} else {
$vars['goyoungesturl'] = $config->getURL($rep, $path, 'dir').'peg='.($peg ? $peg: $rev).$revurlSuffix;
$vars['goyoungesturl'] = $config->getURL($rep, $path, 'dir').createRevAndPegString($youngest, $peg ? $peg: $rev).$revurlSuffix;
}
$vars['goyoungestlink'] = '<a href="'.$vars['goyoungesturl'].'"'.($youngest ? ' title="'.$lang['REV'].' '.$youngest.'"' : '').'>'.$lang['GOYOUNGEST'].'</a>';

Expand Down

0 comments on commit 587b65c

Please sign in to comment.