Fixes a typo bug (== instead of =) in contacts/csv/birthday
authorPascal Corpet <pascal.corpet@m4x.org>
Mon, 25 Oct 2010 08:54:39 +0000 (10:54 +0200)
committerPascal Corpet <pascal.corpet@m4x.org>
Mon, 25 Oct 2010 08:54:39 +0000 (10:54 +0200)
modules/carnet.php

index 1d065af..b9f57e5 100644 (file)
@@ -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;
             }