Use userid rather than username

This commit is contained in:
Howl
2016-05-28 23:48:29 +02:00
parent fb08a80308
commit 0c6237ed01
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ SELECT
beatmaps.ranked_status_freezed, beatmaps.latest_update
FROM scores
LEFT JOIN beatmaps ON beatmaps.beatmap_md5 = scores.beatmap_md5
LEFT JOIN users ON users.username = scores.username
LEFT JOIN users ON users.id = scores.userid
`
// UserScoresBestGET retrieves the best scores of an user, sorted by PP if