Fix error on scores handlers

This commit is contained in:
Nyo 2016-07-20 10:49:29 +02:00
parent 3a2928be53
commit 38008a5451
2 changed files with 3 additions and 3 deletions

View File

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