From 746fbb2f3b2f6990211a4c6285b19c59e2cd8eeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Tue, 10 Jan 2023 14:44:23 +0100 Subject: [PATCH] Correction --- WEB/Controller/PartieGateway.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WEB/Controller/PartieGateway.php b/WEB/Controller/PartieGateway.php index 2c741f9d..66cf0ff6 100644 --- a/WEB/Controller/PartieGateway.php +++ b/WEB/Controller/PartieGateway.php @@ -169,7 +169,7 @@ class PartieGateway "idEnigme" => array($enigme->getIdEnigme(), SQLITE3_INTEGER) ) ); - $tpsMaxPartie += $enigme->getTemps(); + $tpsMaxPartie += $enigme->getTempsDeResolution(); } $_SESSION['tpsMaxPartie'] = $tpsMaxPartie; $query = "INSERT INTO Participer VALUES (:partie,:utilisateur,0)";