T201704031018

This commit is contained in:
Leander
2017-04-03 10:33:14 +02:00
parent 7c16010d65
commit 25f463c3e4

View File

@@ -39,7 +39,7 @@
$db->query('DELETE FROM "Games" WHERE "ID" = $1', array($uid));
}
// Create new game for user.
$db->query('INSERT INTO "Games" ("ID") VALUES ($1)', array($uid));
$db->query('INSERT INTO "Games" ("ID") VALUES ($1)', $uid);
// Find questions for new game and insert into table.
$questions = random_numbers(0, $questions_count-1, $length);
foreach($questions as $question) {