$show['head'] = ($latest['revision'] != $controller->revnum AND $controller->revnum != 'HEAD');
if ($show['head'])
{
- $link['gohead'] = $controller->href_compound('browse.php', null, Paths::fetch_rev_str(false, 'HEAD'));
+ $link['gohead'] = $controller->href_compound('view.php', null, Paths::fetch_rev_str(false, 'HEAD'));
$link['diffhead'] = $controller->href_compound('diff.php', null, Paths::fetch_rev_str(true, 'HEAD', $controller->revnum));
}
$show['prev'] = ($prev = $controller->cachev->fetch_prev_revision($controller->revnum));
if ($show['prev'])
{
- $link['diffprev'] = $controller->href_compound('diff.php', null, Paths::fetch_rev_str(true, $viewsvn->paths->revnum, $prev));
+ $link['diffprev'] = $controller->href_compound('diff.php', null, Paths::fetch_rev_str(true, $controller->revnum, $prev['revision']));
}
// ###################################################################
-$logmsg = $controller->cachev->fetch_revision($latest['revision']);
+$logmsg = $controller->cachev->fetch_revision($controller->revnum);
unset($logmsg['files']);
$logmsg['message_clean'] = SVNCommon::format_log_message($logmsg['message']);