aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index cb55c4d0b8..aa79f31167 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -118,12 +118,12 @@ switch ($mode)
default:
$sql = '';
- trigger_error('NO_POST_MODE');
break;
}
if (!$sql)
{
+ $user->setup(array('posting', 'mcp', 'viewtopic'));
trigger_error('NO_POST_MODE');
}