aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/index.php')
-rw-r--r--phpBB/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index f47a78c19c..8f4f7530b7 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -30,8 +30,8 @@ $mark_read = (isset($_REQUEST['mark'])) ? $_REQUEST['mark'] : '';
// Start session management
$user->start();
-$user->setup();
$auth->acl($user->data);
+$user->setup();
// Handle marking posts
if ($mark_read == 'forums')
@@ -98,8 +98,8 @@ else
// Grab group details for legend display
-$sql = "SELECT group_name, group_colour, group_type
- FROM " . GROUPS_TABLE . "
+$sql = 'SELECT group_name, group_colour, group_type
+ FROM ' . GROUPS_TABLE . "
WHERE group_colour <> ''
AND group_display = 1";
$result = $db->sql_query($sql);