aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index b6bdaa1acc..2864310d61 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -39,7 +39,6 @@ include($phpbb_root_path . 'includes/message_parser.'.$phpEx);
// Start session management
$user->start();
-$user->setup();
$auth->acl($user->data);
// Grab only parameters needed here
@@ -164,6 +163,8 @@ if ($sql != '')
$topic_id = intval($row['topic_id']);
$post_id = intval($row['post_id']);
+ $user->setup(false, $row['forum_style']);
+
if ($row['forum_password'])
{
login_forum_box($row);