aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/ShowQueries.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-01-15 22:56:33 +0300
committerGravatar Vitaly Takmazov2016-01-15 22:56:33 +0300
commit09fd6b8ee40802eceff9746d3c23aa8446ccbd64 (patch)
tree731b42333ab3bb29aed804988a7be597dcc45db2 /src/main/java/com/juick/server/ShowQueries.java
parentf14eea2cfc80dac5e9b304a57457e7f82842a8ed (diff)
update core
Diffstat (limited to 'src/main/java/com/juick/server/ShowQueries.java')
-rw-r--r--src/main/java/com/juick/server/ShowQueries.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/ShowQueries.java b/src/main/java/com/juick/server/ShowQueries.java
index 05a58e9a..3ddff412 100644
--- a/src/main/java/com/juick/server/ShowQueries.java
+++ b/src/main/java/com/juick/server/ShowQueries.java
@@ -18,7 +18,7 @@ public class ShowQueries {
"AND subscr_users.user_id NOT IN (SELECT bl_user_id FROM bl_users WHERE user_id=?) " +
"AND subscr_users.user_id!=? AND users.lastmessage>UNIX_TIMESTAMP()-259200 " +
"GROUP BY subscr_users.user_id ORDER BY count(*) DESC LIMIT 10",
- String.class, new Object[] {forUser.UID, forUser.UID, forUser.UID, forUser.UID});
+ String.class, new Object[] {forUser.getUID(), forUser.getUID(), forUser.getUID(), forUser.getUID()});
}
public static List<String> getTopUsers(JdbcTemplate sql) {