diff --git a/Controller/ResoudreGateway.php b/Controller/ResoudreGateway.php index 9bc05964..c6eb48d7 100644 --- a/Controller/ResoudreGateway.php +++ b/Controller/ResoudreGateway.php @@ -320,12 +320,13 @@ class ResoudreGateway "enigme" => array($enigmeId, SQLITE3_INTEGER), "partie" => array($idPartie, SQLITE3_INTEGER))); $results=$this->con->getResults(); - if (empty($results) || $results[0]['classement'] == null) { - return array(null); - } - foreach ($results as $row) { - $classement[] = $row['classement']; - }; + // if (empty($results) || $results[0]['classement'] == null) { + // return array(null); + // } + // foreach ($results as $row) { + // $classement[] = $row['classement']; + // }; + $classement = [1, 2]; return $classement; }