diff --git a/data/teams.db b/data/teams.db index e11e2e2..2f2a624 100644 Binary files a/data/teams.db and b/data/teams.db differ diff --git a/puzzles.php b/puzzles.php index 0dd8c62..ef8070a 100644 --- a/puzzles.php +++ b/puzzles.php @@ -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"); }