fix group public members

This commit is contained in:
Friendika 2011-08-23 18:22:15 -07:00
parent 56d64316f4
commit b41592f556

View file

@ -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)