Small fix
[platal.git] / modules / marketing.php
index b9e4710..84fdbe1 100644 (file)
@@ -170,7 +170,7 @@ class MarketingModule extends PLModule
         $res = Xdb::query("SELECT  u.nom, u.prenom, u.promo, a.alias AS forlife
                              FROM  auth_user_md5 AS u
                        INNER JOIN  aliases       AS a ON a.id = u.user_id
-                            WHERE  u.user_id = {?}", S::i('uid'));
+                            WHERE  u.user_id = {?}", $uid);
         if (!$res->numRows()) {
             return;
         }