Previous fix was not good.
authorStéphane Jacob <sj@m4x.org>
Mon, 28 Mar 2011 15:04:56 +0000 (17:04 +0200)
committerStéphane Jacob <sj@m4x.org>
Mon, 28 Mar 2011 15:04:56 +0000 (17:04 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/email.php

index df211d6..57dd50d 100644 (file)
@@ -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);