From 0cbe1edddc540390f41b46e2d1da9c7acc916f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Tue, 10 Jan 2023 14:57:24 +0100 Subject: [PATCH] Deboguage --- WEB/Controller/UserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WEB/Controller/UserController.php b/WEB/Controller/UserController.php index b0899f3b..18030c2f 100644 --- a/WEB/Controller/UserController.php +++ b/WEB/Controller/UserController.php @@ -192,7 +192,7 @@ class UserController $utilisateur=$_SESSION['utilisateur']; $model->enigmeEnded($utilisateur->getEmail(),$enigme->getIdEnigme()); $index = $index + 1; - header("Location: index.php?action=goToGame&index=" . $index); + header("Location: index.php?action=goToGame&idPartie=" . $_SESSION['idPartie'] . "&index=". $index); } catch (Exception $e) { $error = "Erreur Inconnue"; require($rep . $vues['erreur']);