From 92b826e729821ef7dc4c94ace7a99e1cbf7d1e3c Mon Sep 17 00:00:00 2001 From: Roland Mas Date: Fri, 12 Feb 2010 09:08:16 +0000 Subject: [PATCH] Fixed link to news archive on homepage --- gforge/www/news/news_utils.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gforge/www/news/news_utils.php b/gforge/www/news/news_utils.php index beed9b70d1..3e71dd77b6 100644 --- a/gforge/www/news/news_utils.php +++ b/gforge/www/news/news_utils.php @@ -205,12 +205,12 @@ ORDER BY post_date DESC', $return .= ''; $return .= "\n\n"; } + if ($group_id != $sys_news_group) { - $archive_url=util_make_url ('/news/?group_id='.$group_id); + $archive_url = '/news/?group_id='.$group_id; } else { - $archive_url=util_make_url ('/news/'); + $archive_url = '/news/'; } - if ($tail_headlines != -1) { if ($show_forum) { $return .= '
' . util_make_link($archive_url, _('News archive'), array('class' => 'dot-link')) . '
'; -- 2.30.2