diff --git a/allhighscores.php b/allhighscores.php index 7211849..7ea9935 100644 --- a/allhighscores.php +++ b/allhighscores.php @@ -33,7 +33,7 @@ if($cid == -1) { FROM "Users" u LEFT OUTER JOIN (SELECT "Users_ID", "score" FROM "Highscores" - WHERE "Categories_ID" = $1) h ON u."ID" = h.Users_ID + WHERE "Categories_ID" = $1) h ON u."ID" = h."Users_ID" ', array($cid))['data']; print_r($overview); foreach($overview as $row) {