aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-03-20 02:25:59 +0100
committerMario Vavti <mario@mariovavti.com>2016-03-20 02:25:59 +0100
commit34b42566b6e2e413f7280ea73a415c9829d4ded1 (patch)
tree28ffaa63f7c836b497f0f1c4e14ee54232e22b40 /mod
parentf7ff48f80633bbf48e719f3915d82f86ca1a5ace (diff)
downloadvolse-hubzilla-34b42566b6e2e413f7280ea73a415c9829d4ded1.tar.gz
volse-hubzilla-34b42566b6e2e413f7280ea73a415c9829d4ded1.tar.bz2
volse-hubzilla-34b42566b6e2e413f7280ea73a415c9829d4ded1.zip
add fixme
Diffstat (limited to 'mod')
-rw-r--r--mod/acl.php4
1 files changed, 3 insertions, 1 deletions
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" => ''
);