From 34b42566b6e2e413f7280ea73a415c9829d4ded1 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 20 Mar 2016 02:25:59 +0100 Subject: add fixme --- mod/acl.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mod/acl.php b/mod/acl.php index aaf056b60..d48a9b19c 100644 --- a/mod/acl.php +++ b/mod/acl.php @@ -47,7 +47,7 @@ function acl_init(&$a){ $contacts = array(); if ($type=='' || $type=='g'){ - + $r = q("SELECT `groups`.`id`, `groups`.`hash`, `groups`.`name`, %s as uids FROM `groups`,`group_member` @@ -71,6 +71,8 @@ function acl_init(&$a){ "name" => $g['name'], "id" => $g['id'], "xid" => $g['hash'], + //FIXME: db_concat aka GROUP_CONCAT has a defoult setting of group_concat_max_len = 1024 in mysql. + // This value is quickly exceeded here. As a result $g['uids'] only contains a part of the complete xchan set. "uids" => explode(",",$g['uids']), "link" => '' ); -- cgit v1.2.3