Oops
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 1 Aug 2006 18:13:28 +0000 (18:13 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 1 Aug 2006 18:13:28 +0000 (18:13 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@771 839d8a87-29fc-0310-9880-83ba4fa771e5

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;
         }