diff options
author | Ugnich Anton | 2014-04-20 15:16:16 +0700 |
---|---|---|
committer | Ugnich Anton | 2014-04-20 15:16:16 +0700 |
commit | 29df00e4fa77ba4aeda0b9780e30c17dd57d92b2 (patch) | |
tree | 60b1485ba99ff52485f2f06964cdeb80d2ab378b /src/com/juick/server/UserQueries.java | |
parent | f9ee0de56d757ecfe22db0611140f29d640cef3a (diff) |
BL lists order, create reply bugfix
Diffstat (limited to 'src/com/juick/server/UserQueries.java')
-rw-r--r-- | src/com/juick/server/UserQueries.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/juick/server/UserQueries.java b/src/com/juick/server/UserQueries.java index 1933f26a..186cacc9 100644 --- a/src/com/juick/server/UserQueries.java +++ b/src/com/juick/server/UserQueries.java @@ -527,7 +527,7 @@ public class UserQueries { PreparedStatement stmt = null; ResultSet rs = null; try { - stmt = sql.prepareStatement("SELECT users.id,users.nick FROM users INNER JOIN bl_users ON(bl_users.bl_user_id=users.id) WHERE bl_users.user_id=?"); + stmt = sql.prepareStatement("SELECT users.id,users.nick FROM users INNER JOIN bl_users ON(bl_users.bl_user_id=users.id) WHERE bl_users.user_id=? ORDER BY users.nick"); stmt.setInt(1, uid); rs = stmt.executeQuery(); rs.beforeFirst(); |