|
|
@ -314,9 +314,9 @@ class ResoudreGateway
|
|
|
|
"enigme" => array($enigmeId, SQLITE3_INTEGER),
|
|
|
|
"enigme" => array($enigmeId, SQLITE3_INTEGER),
|
|
|
|
"partie" => array($idPartie, SQLITE3_INTEGER)));
|
|
|
|
"partie" => array($idPartie, SQLITE3_INTEGER)));
|
|
|
|
$results=$this->con->getResults();
|
|
|
|
$results=$this->con->getResults();
|
|
|
|
if (empty($results) || $results[0]['classement'] == null) {
|
|
|
|
// if (empty($results) || $results[0]['classement'] == null) {
|
|
|
|
return array(0);
|
|
|
|
// return array(0);
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
foreach ($results as $row) {
|
|
|
|
foreach ($results as $row) {
|
|
|
|
$classement[] = $row['classement'];
|
|
|
|
$classement[] = $row['classement'];
|
|
|
|
};
|
|
|
|
};
|
|
|
|