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");