From b4dd21390c25e954f44ef7622c9a2b76a8d0a971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Wed, 11 Jan 2023 20:05:14 +0100 Subject: [PATCH] =?UTF-8?q?3=20=C3=A8me=20essaie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WEB/Model/UserModel.php | 1 + 1 file changed, 1 insertion(+) diff --git a/WEB/Model/UserModel.php b/WEB/Model/UserModel.php index 27b6870e..51346589 100644 --- a/WEB/Model/UserModel.php +++ b/WEB/Model/UserModel.php @@ -44,6 +44,7 @@ class UserModel } public function calculTpsMaXPartie( int $idPartie) : int { + $tpsMaxPartie = 0; $lesIdEnigmes = $this->partie_gateway->findAllEnigmeIdInPartie($idPartie); foreach ($lesIdEnigmes as $idEnigme){ $enigme = $this->enigme_gateway->findById($idEnigme)[0];