Fix a possible SQL error.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 13 Jan 2008 22:17:05 +0000 (23:17 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 13 Jan 2008 22:19:16 +0000 (23:19 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
include/userset.inc.php

index 7409ed7..0da93ad 100644 (file)
@@ -48,7 +48,7 @@ class UserSet extends PlSet
                                 'INNER JOIN groupex.membres AS gxm ON (u.user_id = gxm.uid
                                                                        AND gxm.asso_id = ' . $globals->asso('id') . ') ' : '')
                            . 'LEFT JOIN auth_user_quick AS q USING (user_id)
-                              LEFT JOIN aliases         AS a ON (a.id = u.user_id AND type = \'a_vie\')
+                              LEFT JOIN aliases         AS a ON (a.id = u.user_id AND a.type = \'a_vie\')
                               ' . $joins,
                             $where,
                             'u.user_id');