Correction d'un bug qui empêchait l'énigme 13 de s'afficher.

This commit is contained in:
antux18 2023-08-11 21:47:34 +02:00
parent 6d2c746441
commit 8dda7a45c5
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -26,7 +26,7 @@
$stmt->execute();
// Si c'est le cas, on affiche toutes les énigmes, sinon, on cache la bonus :
if ($stmt->fetchAll()[0][0] == 1) {
if ($stmt->fetchAll()[0][1] == 1) {
$stmt = $database->pdo_article->prepare("SELECT * FROM puzzles");
}