diff --git a/WEB/Controller/UserController.php b/WEB/Controller/UserController.php index eb86be0f..cf610320 100644 --- a/WEB/Controller/UserController.php +++ b/WEB/Controller/UserController.php @@ -174,9 +174,9 @@ class UserController $utilisateur = $_SESSION['utilisateur']; $reponse = $model->addToQueue($utilisateur->getEmail()); $etat = $reponse[1]; - echo $etat; + echo $etat. " etat\n"; $idPartie = $reponse[0]; - echo $idPartie; + echo $idPartie . " idPartie\n"; if($etat == 1){ // header("Location: index.php?action=launchGame"); header("Location: index.php?action=goToPresentation");