T201704210917

This commit is contained in:
Leander
2017-04-21 09:17:47 +02:00
parent 922751f809
commit 80dc36bffd

View File

@@ -48,7 +48,7 @@ if($uid == '') {
['data'][0]['exists'] == 'f') { ['data'][0]['exists'] == 'f') {
$error = 13104; $error = 13104;
} else if($token != $correct_token) { } else if($token != $correct_token) {
$error = 13105; $data = [];
} else { } else {
//set time and points //set time and points
$old_q_count = $db->query('SELECT "answered_questions" FROM "Games" WHERE "ID" = $1', $old_q_count = $db->query('SELECT "answered_questions" FROM "Games" WHERE "ID" = $1',