From: Stéphane Jacob Date: Mon, 28 Mar 2011 15:04:56 +0000 (+0200) Subject: Previous fix was not good. X-Git-Tag: xorg/1.1.1~37^2~30 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=02db84f65833fbaf99b32fe89198e834b5e6515b;p=platal.git Previous fix was not good. Signed-off-by: Stéphane Jacob --- diff --git a/modules/email.php b/modules/email.php index df211d6..57dd50d 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 (r.uid = a.uid) + LEFT JOIN accounts AS a ON (w.uid = a.uid) WHERE w.email = {?} ORDER BY s.email', $email);