aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewonline.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-07-31 14:52:09 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-07-31 14:52:09 +0000
commit33f5e4283b5087b07106e060a6e76ba36e1e584f (patch)
tree4bbde0651ecfc74ab486aa5304a725a74961cfde /phpBB/viewonline.php
parent618e78e41eb9b7380aac2e6204d3cadd9c9fe303 (diff)
downloadforums-33f5e4283b5087b07106e060a6e76ba36e1e584f.tar
forums-33f5e4283b5087b07106e060a6e76ba36e1e584f.tar.gz
forums-33f5e4283b5087b07106e060a6e76ba36e1e584f.tar.bz2
forums-33f5e4283b5087b07106e060a6e76ba36e1e584f.tar.xz
forums-33f5e4283b5087b07106e060a6e76ba36e1e584f.zip
my changes so far...
git-svn-id: file:///svn/phpbb/trunk@7987 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r--phpBB/viewonline.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index f25afea1eb..5b4349254f 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.php
@@ -40,7 +40,7 @@ if (!$auth->acl_gets('u_viewprofile', 'a_user', 'a_useradd', 'a_userdel'))
login_box('', $user->lang['LOGIN_EXPLAIN_VIEWONLINE']);
}
-$sort_key_text = array('a' => $user->lang['SORT_USERNAME'], 'b' => $user->lang['SORT_LOCATION'], 'c' => $user->lang['SORT_JOINED']);
+$sort_key_text = array('a' => $user->lang['SORT_USERNAME'], 'b' => $user->lang['SORT_JOINED'], 'c' => $user->lang['SORT_LOCATION']);
$sort_key_sql = array('a' => 'u.username_clean', 'b' => 's.session_time', 'c' => 's.session_page');
// Sorting and order
@@ -92,6 +92,7 @@ $sql = 'SELECT forum_id, forum_name, parent_id, forum_type, left_id, right_id
ORDER BY left_id ASC';
$result = $db->sql_query($sql, 600);
+$forum_data = array();
while ($row = $db->sql_fetchrow($result))
{
$forum_data[$row['forum_id']] = $row;