Fix Delete Game
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?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
|
||||
$game_id = isset($_SESSION['game_id']) ? $_SESSION['game_id'] : null;
|
||||
|
||||
Reference in New Issue
Block a user