aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-07-11 15:03:06 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-07-11 15:03:06 +0000
commitbd33acd012f96096e5ef6ba131aac0b260aea6c2 (patch)
treef4781a0c2ef33c6f54c3ab10d3e8a64c04db858c /phpBB/includes/functions_display.php
parent2b72a95734ed6f46d8cfccbbea01132b5de37994 (diff)
downloadforums-bd33acd012f96096e5ef6ba131aac0b260aea6c2.tar
forums-bd33acd012f96096e5ef6ba131aac0b260aea6c2.tar.gz
forums-bd33acd012f96096e5ef6ba131aac0b260aea6c2.tar.bz2
forums-bd33acd012f96096e5ef6ba131aac0b260aea6c2.tar.xz
forums-bd33acd012f96096e5ef6ba131aac0b260aea6c2.zip
some fixes
git-svn-id: file:///svn/phpbb/trunk@7866 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r--phpBB/includes/functions_display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 92e636af01..626e1d6dd9 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -401,7 +401,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
'L_FORUM_FOLDER_ALT' => $folder_alt,
'L_MODERATOR_STR' => $l_moderator,
- 'U_VIEWFORUM' => ($row['forum_type'] != FORUM_LINK || ($row['forum_flags'] & FORUM_FLAG_LINK_TRACK)) ? append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $row['forum_id']) : $row['forum_link'],
+ 'U_VIEWFORUM' => ($row['forum_type'] != FORUM_LINK || ($row['forum_flags'] & FORUM_FLAG_LINK_TRACK) || $row['forum_password']) ? append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $row['forum_id']) : $row['forum_link'],
'U_LAST_POSTER' => get_username_string('profile', $row['forum_last_poster_id'], $row['forum_last_poster_name'], $row['forum_last_poster_colour']),
'U_LAST_POST' => $last_post_url)
);