test
continuous-integration/drone/push Build is passing Details

ServeurDeTest
Noé GARNIER 2 years ago
parent 8c46a4d0d0
commit 6ba30e5e8e

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

Loading…
Cancel
Save