From bc1bcc1f0cf799c116f998604bf9541a8a91fd6f Mon Sep 17 00:00:00 2001 From: Leander Date: Thu, 20 Apr 2017 09:46:14 +0200 Subject: [PATCH] T201704200946 --- allhighscores.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allhighscores.php b/allhighscores.php index 083434a..39aace9 100644 --- a/allhighscores.php +++ b/allhighscores.php @@ -42,7 +42,7 @@ if($cid == -1) { print_r($all_users); foreach($all_users as $user) { if($db->query('SELECT exists FROM "Highscores" WHERE "Users_ID" = $1 AND "Categories_ID" = $2', - array($user['id']))['data'][0]['exists'] == 'f') { + array($user['ID']))['data'][0]['exists'] == 'f') { $name = $user['name']; $score = -1; $place = $all_cat_highscores + 1;