diff --git a/WEB/Controller/UserController.php b/WEB/Controller/UserController.php index 4f2223a9..a4f7a898 100644 --- a/WEB/Controller/UserController.php +++ b/WEB/Controller/UserController.php @@ -182,10 +182,10 @@ class UserController else{ echo "Vous ĂȘtes dans la fille d'attente\n"; require($rep . $vues['queue']); - while ($etat == 0){ - $etat = $model->getEtatPartie($idPartie); - } - header("Location: index.php?action=goToPresentation"); + // while ($etat == 0){ + // $etat = $model->getEtatPartie($idPartie); + // } + // header("Location: index.php?action=goToPresentation"); } } catch (Exception $e) { $error = $e->getMessage();