From 98daf8b6dcf86c0517370dd38a357f1cec7aa794 Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Mon, 16 Jun 2008 03:37:01 +0200 Subject: [PATCH] Fixes a SQL 'typo' in /marketing/broken. Signed-off-by: Vincent Zanotti --- modules/marketing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); -- 2.1.4