aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-02-18 13:54:12 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-02-18 13:54:12 +0000
commit26a6d215d0897afa82eea9b0cc0fca79d4544da5 (patch)
tree50645d56ce20cb6fa5e18a2eb1036deba65a1068 /phpBB/viewforum.php
parentf2f0dc78929228619f8644d6553a02a8d1572242 (diff)
downloadforums-26a6d215d0897afa82eea9b0cc0fca79d4544da5.tar
forums-26a6d215d0897afa82eea9b0cc0fca79d4544da5.tar.gz
forums-26a6d215d0897afa82eea9b0cc0fca79d4544da5.tar.bz2
forums-26a6d215d0897afa82eea9b0cc0fca79d4544da5.tar.xz
forums-26a6d215d0897afa82eea9b0cc0fca79d4544da5.zip
- fix some tiny bugs
- fix module system (sometimes the layout is broken due to falsly deactivated categories) - auth updates (setting permissions) - fix "category jumping" bug in acp - u_action is defined by the module itself git-svn-id: file:///svn/phpbb/trunk@5558 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index df238c13a8..c576c2c1af 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -68,6 +68,9 @@ if (!($forum_data = $db->sql_fetchrow($result)))
}
$db->sql_freeresult($result);
+// Configure style, language, etc.
+$user->setup('viewforum', $forum_data['forum_style']);
+
// Redirect to login upon emailed notification links
if (isset($_GET['e']) && !$user->data['is_registered'])
{
@@ -101,9 +104,6 @@ if ($forum_data['forum_link'])
redirect(str_replace('&amp;', '&', $forum_data['forum_link']));
}
-// Configure style, language, etc.
-$user->setup('viewforum', $forum_data['forum_style']);
-
// Forum is passworded ... check whether access has been granted to this
// user this session, if not show login box
if ($forum_data['forum_password'])