aboutsummaryrefslogtreecommitdiffstats
path: root/include/group.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-04-18 16:58:20 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-04-18 16:58:20 +0200
commitee1641393550eea9200f792707070e024879d466 (patch)
treeee9e19d380cdf4fee74d4b7c1fa323098c72b93b /include/group.php
parent62dbfffe399333cd4a792cc77256a2bcd689a14f (diff)
parent741a262f1b2d5c8f911896da32e80d543afb5cd1 (diff)
downloadvolse-hubzilla-ee1641393550eea9200f792707070e024879d466.tar.gz
volse-hubzilla-ee1641393550eea9200f792707070e024879d466.tar.bz2
volse-hubzilla-ee1641393550eea9200f792707070e024879d466.zip
Merge remote-tracking branch 'friendika-master/master'
Diffstat (limited to 'include/group.php')
-rw-r--r--include/group.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/group.php b/include/group.php
index 065c2241f..5dca08c76 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' ",
intval($gid),
intval(local_user())
);