From 26a6d215d0897afa82eea9b0cc0fca79d4544da5 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 18 Feb 2006 13:54:12 +0000 Subject: - 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 --- phpBB/viewforum.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/viewforum.php') 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('&', '&', $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']) -- cgit v1.2.1