From 364eeee8136c67dc8f47d109483bb6a0939412fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Mon, 9 Jan 2023 10:26:13 +0100 Subject: [PATCH] test --- WEB/Controller/UserController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WEB/Controller/UserController.php b/WEB/Controller/UserController.php index a4f7a898..eb86be0f 100644 --- a/WEB/Controller/UserController.php +++ b/WEB/Controller/UserController.php @@ -174,7 +174,9 @@ class UserController $utilisateur = $_SESSION['utilisateur']; $reponse = $model->addToQueue($utilisateur->getEmail()); $etat = $reponse[1]; + echo $etat; $idPartie = $reponse[0]; + echo $idPartie; if($etat == 1){ // header("Location: index.php?action=launchGame"); header("Location: index.php?action=goToPresentation");