From: Pascal Corpet Date: Mon, 25 Oct 2010 08:54:39 +0000 (+0200) Subject: Fixes a typo bug (== instead of =) in contacts/csv/birthday X-Git-Tag: xorg/1.0.1~15^2 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=8f71873e68b6d9a70b08fbdd11eced4203c6cc1f;p=platal.git Fixes a typo bug (== instead of =) in contacts/csv/birthday --- diff --git a/modules/carnet.php b/modules/carnet.php index 1d065af..b9f57e5 100644 --- a/modules/carnet.php +++ b/modules/carnet.php @@ -382,7 +382,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; }