add fixme
This commit is contained in:
parent
f7ff48f806
commit
34b42566b6
@ -47,7 +47,7 @@ function acl_init(&$a){
|
|||||||
$contacts = array();
|
$contacts = array();
|
||||||
|
|
||||||
if ($type=='' || $type=='g'){
|
if ($type=='' || $type=='g'){
|
||||||
|
|
||||||
$r = q("SELECT `groups`.`id`, `groups`.`hash`, `groups`.`name`,
|
$r = q("SELECT `groups`.`id`, `groups`.`hash`, `groups`.`name`,
|
||||||
%s as uids
|
%s as uids
|
||||||
FROM `groups`,`group_member`
|
FROM `groups`,`group_member`
|
||||||
@ -71,6 +71,8 @@ function acl_init(&$a){
|
|||||||
"name" => $g['name'],
|
"name" => $g['name'],
|
||||||
"id" => $g['id'],
|
"id" => $g['id'],
|
||||||
"xid" => $g['hash'],
|
"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']),
|
"uids" => explode(",",$g['uids']),
|
||||||
"link" => ''
|
"link" => ''
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user