From d095649a655ce7dfeae124b2946dadc5248eafc4 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Wed, 17 Oct 2007 15:01:56 +0000 Subject: - Display "Return to" links on unwritable forums [Bug #14824] git-svn-id: file:///svn/phpbb/trunk@8200 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewtopic.php | 1 + 1 file changed, 1 insertion(+) (limited to 'phpBB/viewtopic.php') diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 9d2a6b61c0..32b35a2060 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1425,6 +1425,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i) 'S_FIRST_UNREAD' => $s_first_unread, 'S_CUSTOM_FIELDS' => (isset($cp_row['row']) && sizeof($cp_row['row'])) ? true : false, 'S_TOPIC_POSTER' => ($topic_data['topic_poster'] == $poster_id) ? true : false, + 'S_VIEWTOPIC' => true, 'S_IGNORE_POST' => ($row['hide_post']) ? true : false, 'L_IGNORE_POST' => ($row['hide_post']) ? sprintf($user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), '', '') : '', -- cgit v1.2.1