diff --git a/app/controller/PartieController.php b/app/controller/PartieController.php
index df409fa12f177f986d9c164b3c3af1f15ab6d7d8..879db238f488aa8bf11e9b1578126db794dec1ae 100644
--- a/app/controller/PartieController.php
+++ b/app/controller/PartieController.php
@@ -287,7 +287,7 @@ class PartieController extends Controller
                 die();
             }
         }
-        if ($jeu->type = 'equipes') {
+        if ($jeu->type == 'equipes') {
             $equipes = $_SESSION['equipes'];
             $ns = count($scores);
             $nj = count($equipes);