From 72cb15e0a6e01cb61d74977db8958a750a6defba Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 3 Nov 2005 03:55:27 +0000 Subject: [PATCH] Reverse the way the conditional works for the view link --- log.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log.php b/log.php index 79260ea..f2afc2f 100644 --- a/log.php +++ b/log.php @@ -41,7 +41,7 @@ foreach ($logs->fetch() AS $log) { $prev = $viewsvn->svn->common->fetch_prev_rev($path, $log['rev']); - $link['view'] = (!$isdir ? $viewsvn->paths->out('view.php' . $viewsvn->paths->fetch_rev_str(false, $log['rev']), $path) : ''); + $link['view'] = ($isdir ? $viewsvn->paths->out('view.php' . $viewsvn->paths->fetch_rev_str(false, $log['rev']), $path) : ''); $link['blame'] = $viewsvn->paths->out('blame.php' . $viewsvn->paths->fetch_rev_str(false, $log['rev']), $path); $show['diffhead'] = $viewsvn->svn->common->fetch_head_rev($path) != $log['rev']; -- 2.43.5