From 319d48a8dcdecdb4ac9c64d2be80b3a39d1a7188 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 22 Jan 2006 22:41:33 +0000 Subject: [PATCH] view.php improvements --- view.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/view.php b/view.php index 6a6f698..0865d69 100644 --- a/view.php +++ b/view.php @@ -36,19 +36,19 @@ $link['log'] = $controller->href_compound('log.php'); $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']); -- 2.43.5