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;