diff --git a/WEB/Controller/ResoudreGateway.php b/WEB/Controller/ResoudreGateway.php index db351748..689de0f5 100644 --- a/WEB/Controller/ResoudreGateway.php +++ b/WEB/Controller/ResoudreGateway.php @@ -190,7 +190,7 @@ class ResoudreGateway "utilisateur" => array($mailUtilisateur, SQLITE3_TEXT), "enigme" => array($enigmeId, SQLITE3_INTEGER), "partie" => array($idPartie, SQLITE3_INTEGER), - "index" => array($index, SQLITE3_INTEGER), + "indexEnigme" => array($index, SQLITE3_INTEGER), "code" => array($code, SQLITE3_TEXT))); } public function getCode(string $mailUtilisateur, int $enigmeId) : string{