mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-27 02:05:02 +02:00
- 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
This commit is contained in:
@@ -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'])
|
||||
|
Reference in New Issue
Block a user