From: Friendika Date: Wed, 24 Aug 2011 01:22:15 +0000 (-0700) Subject: fix group public members X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b41592f5563f0cf1e776a02da6771cd096d47943;p=friendica.git fix group public members --- diff --git a/include/group.php b/include/group.php index 5e3a1511a8..d696794841 100644 --- a/include/group.php +++ b/include/group.php @@ -124,7 +124,7 @@ function group_public_members($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` = '%' AND `contact`.`notify` != '' ", + AND ( `contact`.`network` = '%s' OR `contact`.`notify` != '' )", intval($gid), intval(local_user()), dbesc(NETWORK_OSTATUS)