aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-20 15:32:09 -0700
committerredmatrix <git@macgirvin.com>2016-03-20 15:32:09 -0700
commit23151100dee1051d77d893a616cbc166eb5dcca1 (patch)
tree57b3d70d9a09248613270cd0bcbf515630f1d320 /mod
parenteb68b66c58fb0fb0511827a51d39ef0b6aff6d33 (diff)
parent23419e4c26a3f971dd9ec50a37c78c009c12ffca (diff)
downloadvolse-hubzilla-23151100dee1051d77d893a616cbc166eb5dcca1.tar.gz
volse-hubzilla-23151100dee1051d77d893a616cbc166eb5dcca1.tar.bz2
volse-hubzilla-23151100dee1051d77d893a616cbc166eb5dcca1.zip
Merge https://github.com/redmatrix/hubzilla into pending_merge
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 d3e006e87..f7984fa13 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" => ''
);