Correction de bug
continuous-integration/drone/push Build is passing Details

ServeurDeTest
Noé GARNIER 2 years ago
parent 61ac2b7919
commit 60a835d2ef

@ -192,7 +192,7 @@ class UserModel
$points = 0; $points = 0;
$result = $this->resoudre_gateway->getAllByPartieAndUtilisateur($mailUtilisateur, $idPartie); $result = $this->resoudre_gateway->getAllByPartieAndUtilisateur($mailUtilisateur, $idPartie);
foreach ($result as $row){ foreach ($result as $row){
if ($row['ended'] == 1){ if ($row['temps'] == 0){
$points += 0; $points += 0;
} }
else if ($row['classement'] == 1){ else if ($row['classement'] == 1){

Loading…
Cancel
Save