From b95ffb98ffcfffffb85570357d65326bbf44522d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Tue, 10 Jan 2023 17:08:38 +0100 Subject: [PATCH] Correction --- WEB/Model/UserModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WEB/Model/UserModel.php b/WEB/Model/UserModel.php index b7046955..d4cae90c 100644 --- a/WEB/Model/UserModel.php +++ b/WEB/Model/UserModel.php @@ -47,7 +47,7 @@ class UserModel $lesIdEnigmes = $this->partie_gateway->findAllEnigmeIdInPartie($idPartie); foreach ($lesIdEnigmes as $idEnigme){ $enigme = $this->enigme_gateway->findById($idEnigme)[0]; - $tpsMaxPartie += $enigme->getTempsMax(); + $tpsMaxPartie += $enigme->getTempsDeResolution(); } return $tpsMaxPartie; }