T201704200946

This commit is contained in:
Leander
2017-04-20 09:46:14 +02:00
parent c35a885d5a
commit bc1bcc1f0c

View File

@@ -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;