}
if ($gp) {
- $res = XDB::query('SELECT a.*, d.nom AS domnom,
- FIND_IN_SET(\'wiki_desc\', a.flags) AS wiki_desc,
- FIND_IN_SET(\'notif_unsub\', a.flags) AS notif_unsub
+ $res = XDB::query("SELECT a.*, d.nom AS domnom,
+ FIND_IN_SET('wiki_desc', a.flags) AS wiki_desc,
+ FIND_IN_SET('notif_unsub', a.flags) AS notif_unsub,
+ FIND_IN_SET('has_ml', a.flags) AS has_ml
FROM groupex.asso AS a
LEFT JOIN groupex.dom AS d ON d.id = a.dom
- WHERE diminutif = {?}', $gp);
+ WHERE diminutif = {?}",
+ $gp);
if (!($aid = $res->fetchOneAssoc())) {
$aid = array();
}