From 8fc289f3672ecd8c10115132b949632b0146dcdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Wed, 11 Jan 2023 22:47:23 +0100 Subject: [PATCH] Correction --- WEB/Controller/ResoudreGateway.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WEB/Controller/ResoudreGateway.php b/WEB/Controller/ResoudreGateway.php index 4c28ed7e..4806fbe8 100644 --- a/WEB/Controller/ResoudreGateway.php +++ b/WEB/Controller/ResoudreGateway.php @@ -281,7 +281,7 @@ class ResoudreGateway } } public function getLastIndex(int $idPartie) : int{ - $query="SELECT max(indexEnigme) FROM Resoudre + $query="SELECT max(indexEnigme) FROM Contenir WHERE partie=:partie"; $this->con->executeQuery($query, array( "partie" => array($idPartie, SQLITE3_INTEGER)));