From: Pascal Corpet Date: Mon, 25 Oct 2010 18:36:36 +0000 (+0200) Subject: Fixes typo (== instead of =) X-Git-Tag: xorg/1.0.1~11 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=4ae396ecda11a090106a65cb58135067adefcf8b;p=platal.git Fixes typo (== instead of =) --- diff --git a/modules/carnet.php b/modules/carnet.php index 88471ae..f5f4cb3 100644 --- a/modules/carnet.php +++ b/modules/carnet.php @@ -415,7 +415,7 @@ class CarnetModule extends PLModule $user = Platal::session()->tokenAuth($alias, $hash); if (is_null($user)) { if (S::logged()) { - $user == S::user(); + $user = S::user(); } else { return PL_FORBIDDEN; } @@ -445,7 +445,7 @@ class CarnetModule extends PLModule $user = Platal::session()->tokenAuth($alias, $hash); if (is_null($user)) { if (S::logged()) { - $user == S::user(); + $user = S::user(); } else { return PL_FORBIDDEN; }