From: x2003bruneau Date: Tue, 1 Aug 2006 18:13:28 +0000 (+0000) Subject: Oops X-Git-Tag: xorg/0.9.11~144 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=b7550106ff9bc8e7ea2b09c622456e3eef87500a;p=platal.git Oops git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@771 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/modules/marketing.php b/modules/marketing.php index b9e4710..84fdbe1 100644 --- a/modules/marketing.php +++ b/modules/marketing.php @@ -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; }