From 25f463c3e4a710d09dae7e9240e74e6272e74c67 Mon Sep 17 00:00:00 2001 From: Leander Date: Mon, 3 Apr 2017 10:33:14 +0200 Subject: [PATCH] T201704031018 --- start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.php b/start.php index 3933490..42871ec 100644 --- a/start.php +++ b/start.php @@ -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) {