aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-23 18:22:15 -0700
committerFriendika <info@friendika.com>2011-08-23 18:22:15 -0700
commitb41592f5563f0cf1e776a02da6771cd096d47943 (patch)
treeeae0df948356601706a80b82e74f71a88afc61f7
parent56d64316f457c85141e35356a61a4d352ed9f24c (diff)
downloadvolse-hubzilla-b41592f5563f0cf1e776a02da6771cd096d47943.tar.gz
volse-hubzilla-b41592f5563f0cf1e776a02da6771cd096d47943.tar.bz2
volse-hubzilla-b41592f5563f0cf1e776a02da6771cd096d47943.zip
fix group public members
-rw-r--r--include/group.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/group.php b/include/group.php
index 5e3a1511a..d69679484 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)