diff --git a/server/php/timetrack.php b/server/php/timetrack.php index 9506423..2ce0a73 100644 --- a/server/php/timetrack.php +++ b/server/php/timetrack.php @@ -24,7 +24,7 @@ function create($DB, $jsx, $blank) { $sessionId = $row['id']; // Insert into `sessions` table - $stmt = $DB->prepare("INSERT INTO `sessions` (`ID`, `timestamp`, 'version') VALUES (?, CURRENT_TIMESTAMP(), 0)"); + $stmt = $DB->prepare("INSERT INTO `sessions` (`ID`, `timestamp`, `version`) VALUES (?, CURRENT_TIMESTAMP(), 0)"); $stmt->bind_param("s", $sessionId); if (!$stmt->execute()) { http_response_code(500);