From 8fc6c556dbecde3ec6b876f0dc7fbaace75c4d35 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 18 Oct 2013 21:09:42 +0000 Subject: [PATCH] Fix UPDATE.php's breakdown query failing. --- website/UPDATE.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/UPDATE.php b/website/UPDATE.php index 44860b7..be12925 100644 --- a/website/UPDATE.php +++ b/website/UPDATE.php @@ -51,9 +51,9 @@ if (isset($_GET['run']) && $_GET['run'] == 'yes') { } else { $test_id = find_or_add_test($suite_id, $name); mysql_query("INSERT INTO awfy_breakdown - (run_id, suite_id, mode_id, score, test_id) + (run_id, mode_id, score, test_id) VALUES - ($run, $suite_id, $mode_id, $time, $test_id)") + ($run, $mode_id, $time, $test_id)") or die("ERROR: " . mysql_error()); } }