From: Stéphane Jacob Date: Mon, 28 Mar 2011 14:27:57 +0000 (+0200) Subject: Yet another query. X-Git-Tag: xorg/1.1.1~37^2~31 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=ee8af1cb2eeff43b9f1760c9ffe2ab3c787b2a4e;p=platal.git Yet another query. Signed-off-by: Stéphane Jacob --- diff --git a/modules/email.php b/modules/email.php index 1496b04..df211d6 100644 --- a/modules/email.php +++ b/modules/email.php @@ -740,7 +740,7 @@ class EmailModule extends PLModule FROM email_watch AS w INNER JOIN email_redirect_account AS r ON (w.email = r.redirect) INNER JOIN email_source_account AS s ON (s.uid = r.uid AND s.type = \'forlife\') - INNER JOIN accounts AS a ON (w.uid = a.uid) + INNER JOIN accounts AS a ON (r.uid = a.uid) WHERE w.email = {?} ORDER BY s.email', $email);