From: Vincent Zanotti Date: Mon, 16 Jun 2008 01:37:01 +0000 (+0200) Subject: Fixes a SQL 'typo' in /marketing/broken. X-Git-Tag: core/1.0.0~101 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=98daf8b6dcf86c0517370dd38a357f1cec7aa794;p=platal.git Fixes a SQL 'typo' in /marketing/broken. Signed-off-by: Vincent Zanotti --- diff --git a/modules/marketing.php b/modules/marketing.php index 5c52a44..83dcd89 100644 --- a/modules/marketing.php +++ b/modules/marketing.php @@ -201,7 +201,7 @@ class MarketingModule extends PLModule if (Post::has('valide') && isvalid_email_redirection($email)) { // security stuff check_email($email, "Proposition d'une adresse surveillee pour " . $user['forlife'] . " par " . S::v('forlife')); - $res = XDB::query("SELECT state + $res = XDB::query("SELECT e.flags FROM emails AS e INNER JOIN aliases AS a ON (a.id = e.uid) WHERE e.email = {?} AND a.alias = {?}", $email, $user['forlife']);