Small fix.

This commit is contained in:
antux18 2023-06-28 21:26:58 +02:00
parent 13fa1824da
commit 7f91b9424d
2 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
else {
// On enregistre la réussite dans la table :
// Vérification que ce n'est pas déjà enregistré :
$stmt = $database->pdo_teams->prepare("SELECT * FROM solved WHERE (puzzle_id == :puzzle_id AND team_id == :team_id");
$stmt = $database->pdo_teams->prepare("SELECT * FROM solved WHERE (puzzle_id == :puzzle_id AND team_id == :team_id)");
$stmt->bindValue(":puzzle_id", $art_id);
$stmt->bindValue(":team_id", $team_id);
$stmt->execute();

Binary file not shown.