From c7a2f1eb2bca0c7b7524924f7fb0018c5aeec92f Mon Sep 17 00:00:00 2001
From: Eliah REBSTOCK <eliah.rebstock@ensiie.fr>
Date: Fri, 6 May 2016 17:19:14 +0200
Subject: [PATCH] hotfix Partie controleur

---
 app/controller/PartieController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/controller/PartieController.php b/app/controller/PartieController.php
index 44045d3..df409fa 100644
--- a/app/controller/PartieController.php
+++ b/app/controller/PartieController.php
@@ -209,7 +209,7 @@ class PartieController extends Controller
         if(!isset($_SESSION['jeu_select']))
             header("Location:../add_partie");
         $jeu_actuel = $_SESSION['jeu_select'];
-        if ($jeu_actuel->type = 'equipes'){
+        if ($jeu_actuel->type == 'equipes'){
             if(!isset($_SESSION['equipes']))
                 header("Location:stepe1");
             $equipes = $_SESSION['equipes'];
-- 
GitLab