X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fxnetgrp.php;h=4868d3fef8d634aece19340b31ca0a3aa029008a;hb=2af95f6f349a10ea8814b5d4a95bb571d649357a;hp=794fdc7e60b1828d0d46bec6f6e221b2ad12468e;hpb=91288d86e195bc79e894c39ccf4d6560f707a0e7;p=platal.git diff --git a/modules/xnetgrp.php b/modules/xnetgrp.php index 794fdc7..4868d3f 100644 --- a/modules/xnetgrp.php +++ b/modules/xnetgrp.php @@ -432,7 +432,7 @@ class XnetGrpModule extends PLModule m.perms='admin' AS admin, m.origine='X' AS x, u.perms!='pending' AS inscrit, - m.uid, IF(e.email IS NULL,NULL,1) AS actif + m.uid, IF(e.email IS NULL AND FIND_IN_SET('googleapps', u.mail_storage) = 0, NULL, 1) AS actif FROM groupex.membres AS m LEFT JOIN auth_user_md5 AS u ON ( u.user_id = m.uid ) LEFT JOIN aliases AS a ON ( a.id = m.uid AND a.type='a_vie' )