X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fuserset.inc.php;h=382909066317e42e598608c86db9688ad0e532f1;hb=0e5ec8609e372fe410c6af95839dc73a7e1e6199;hp=63921604cb679b50dfbf8cde0fbdae33a0c28284;hpb=94c6c7888a4f5489a273b7bcabc7dc9fadec3fca;p=platal.git diff --git a/include/userset.inc.php b/include/userset.inc.php index 6392160..3829090 100644 --- a/include/userset.inc.php +++ b/include/userset.inc.php @@ -186,7 +186,8 @@ class MinificheView extends MultipageView ad1.text AS app1text, ad1.url AS app1url, ai1.type AS app1type, adr.city, gp.a2, gp.pays AS countrytxt, gr.name AS region, IF(u.nom_usage<>'',u.nom_usage,u.nom) AS sortkey, - COUNT(em.email) > 0 AS actif" . (S::logged() ? ", c.contact AS contact" : ''); + (COUNT(em.email) > 0 OR FIND_IN_SET('googleapps', u.mail_storage) > 0) AS actif" . + (S::logged() ? ", c.contact AS contact" : ''); } public function joins()