diff --git a/WEB/Controller/PartieGateway.php b/WEB/Controller/PartieGateway.php index d3f10fd1..a2104c37 100644 --- a/WEB/Controller/PartieGateway.php +++ b/WEB/Controller/PartieGateway.php @@ -336,7 +336,7 @@ class PartieGateway return $date; } public function endGame(int $idPartie){ - $query = "UPDATE Participer SET etat = 1 WHERE partie = :idPartie"; + $query = "UPDATE Participer SET etat = 2 WHERE partie = :idPartie"; $this->con->executeQuery($query, array( "idPartie" => array($idPartie, SQLITE3_INTEGER) )