aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-05-21 16:54:19 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-05-21 16:54:19 +0000
commit530b7e94c5e10eb1b9aa2ea488825265b685651e (patch)
treee679fd1af844e3b80d36923bde481873aee0e56d /phpBB/ucp.php
parent2ddac1037550a12e6a49dd7d78f7884ce584eedc (diff)
downloadforums-530b7e94c5e10eb1b9aa2ea488825265b685651e.tar
forums-530b7e94c5e10eb1b9aa2ea488825265b685651e.tar.gz
forums-530b7e94c5e10eb1b9aa2ea488825265b685651e.tar.bz2
forums-530b7e94c5e10eb1b9aa2ea488825265b685651e.tar.xz
forums-530b7e94c5e10eb1b9aa2ea488825265b685651e.zip
- fixing a few smaller bugs/glitches
- init user session in cron.php (else it can produce errors if functions expect the user object being set) - fix sql escaping for mssql/mssql_odbc git-svn-id: file:///svn/phpbb/trunk@5957 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/ucp.php')
-rwxr-xr-xphpBB/ucp.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php
index 36b7afadfc..e038f42ddd 100755
--- a/phpBB/ucp.php
+++ b/phpBB/ucp.php
@@ -263,7 +263,9 @@ $sql = $db->sql_build_query('SELECT_DISTINCT', array(
AND z.friend = 1
AND u.user_id = z.zebra_id',
- 'GROUP_BY' => 'z.zebra_id, u.user_id, u.username, u.user_allow_viewonline'
+ 'GROUP_BY' => 'z.zebra_id, u.user_id, u.username, u.user_allow_viewonline',
+
+ 'ORDER_BY' => 'u.username ASC',
));
$result = $db->sql_query($sql);