From: Florent Bruneau Date: Sun, 13 Jan 2008 22:17:05 +0000 (+0100) Subject: Fix a possible SQL error. X-Git-Tag: xorg/0.9.16~173 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=9d66aa4a9c146715c3d50eb7e5817193f0978b17;p=platal.git Fix a possible SQL error. Signed-off-by: Florent Bruneau --- diff --git a/include/userset.inc.php b/include/userset.inc.php index 7409ed7..0da93ad 100644 --- a/include/userset.inc.php +++ b/include/userset.inc.php @@ -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');