aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2007-10-17 15:01:56 +0000
committerNils Adermann <naderman@naderman.de>2007-10-17 15:01:56 +0000
commitd095649a655ce7dfeae124b2946dadc5248eafc4 (patch)
tree9d3fa941adfb8c6759d009d4d8be9f75ddb8f30e /phpBB/viewforum.php
parentfe66d104a6d89ccfc2185ccd078d9b14842e0d32 (diff)
downloadforums-d095649a655ce7dfeae124b2946dadc5248eafc4.tar
forums-d095649a655ce7dfeae124b2946dadc5248eafc4.tar.gz
forums-d095649a655ce7dfeae124b2946dadc5248eafc4.tar.bz2
forums-d095649a655ce7dfeae124b2946dadc5248eafc4.tar.xz
forums-d095649a655ce7dfeae124b2946dadc5248eafc4.zip
- Display "Return to" links on unwritable forums [Bug #14824]
git-svn-id: file:///svn/phpbb/trunk@8200 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 46a5ccf5e7..c7888505cd 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -627,6 +627,7 @@ if (sizeof($topic_list))
'S_POST_STICKY' => ($row['topic_type'] == POST_STICKY) ? true : false,
'S_TOPIC_LOCKED' => ($row['topic_status'] == ITEM_LOCKED) ? true : false,
'S_TOPIC_MOVED' => ($row['topic_status'] == ITEM_MOVED) ? true : false,
+ 'S_VIEWFORUM' => true,
'U_NEWEST_POST' => $view_topic_url . '&amp;view=unread#unread',
'U_LAST_POST' => $view_topic_url . '&amp;p=' . $row['topic_last_post_id'] . '#p' . $row['topic_last_post_id'],