Fix Delete Game

This commit is contained in:
2026-03-02 08:25:41 +01:00
parent 21eca133b8
commit c6707b6182
+1
View File
@@ -1,6 +1,7 @@
<?php <?php
require_once 'db.php'; require_once 'db.php';
header('Content-Type: application/json');
// On récupère l'ID envoyé en POST, sinon on prend la dernière partie créée // On récupère l'ID envoyé en POST, sinon on prend la dernière partie créée
$game_id = isset($_SESSION['game_id']) ? $_SESSION['game_id'] : null; $game_id = isset($_SESSION['game_id']) ? $_SESSION['game_id'] : null;