X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=include%2Fgroup.php;h=8866104fca54a58ad49bfded919bb220e6633158;hb=b43ed54967e133ca250ee7f42a90d699781d904f;hp=5001cf53ecbb916fcc2a14dc16831a61eeb2ac31;hpb=b52fd6c2db3f40156ae3a05c175ca4c092b39dfa;p=friendica.git diff --git a/include/group.php b/include/group.php index 5001cf53ec..8866104fca 100644 --- a/include/group.php +++ b/include/group.php @@ -123,7 +123,8 @@ function group_public_members($gid) { if(intval($gid)) { $r = q("SELECT `contact`.`id` AS `contact-id` FROM `group_member` LEFT JOIN `contact` ON `contact`.`id` = `group_member`.`contact-id` - WHERE `gid` = %d AND `group_member`.`uid` = %d AND `contact`.`network` != 'dfrn' ", + WHERE `gid` = %d AND `group_member`.`uid` = %d + AND `contact`.`network` != 'dfrn' AND `contact`.`network` != 'mail' AND `contact`.`network` != 'face' ", intval($gid), intval(local_user()) ); @@ -135,7 +136,7 @@ function group_public_members($gid) { -function group_side($every="contacts",$each="group") { +function group_side($every="contacts",$each="group",$edit = false) { $o = ''; @@ -165,7 +166,7 @@ EOT; ); if(count($r)) { foreach($r as $rr) - $o .= "