aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/viewonline.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index 7d1e62adaa..066beabbdc 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.php
@@ -27,15 +27,15 @@ include($phpbb_root_path . 'common.'.$phpEx);
// Start session management
$user->start();
-$user->setup();
$auth->acl($user->data);
+$user->setup();
+
+// Get and set some variables
$sort_key = (!empty($_REQUEST['sk'])) ? htmlspecialchars($_REQUEST['sk']) : 'b';
$sort_dir = (!empty($_REQUEST['sd'])) ? htmlspecialchars($_REQUEST['sd']) : 'd';
-
-
$sort_key_text = array('a' => $user->lang['SORT_USERNAME'], 'b' => $user->lang['SORT_LOCATION'], 'c' => $user->lang['SORT_JOINED']);
$sort_key_sql = array('a' => 'username', 'b' => 'session_time', 'c' => 'session_page');