Small fix.
This commit is contained in:
parent
13fa1824da
commit
7f91b9424d
@ -31,7 +31,7 @@
|
|||||||
else {
|
else {
|
||||||
// On enregistre la réussite dans la table :
|
// On enregistre la réussite dans la table :
|
||||||
// Vérification que ce n'est pas déjà enregistré :
|
// 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(":puzzle_id", $art_id);
|
||||||
$stmt->bindValue(":team_id", $team_id);
|
$stmt->bindValue(":team_id", $team_id);
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
|
BIN
data/teams.db
BIN
data/teams.db
Binary file not shown.
Loading…
Reference in New Issue
Block a user