aboutsummaryrefslogtreecommitdiffstats
path: root/include/group.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-02-25 23:59:57 +0100
committerMario Vavti <mario@mariovavti.com>2016-02-25 23:59:57 +0100
commit5ad9b48f1d916425e41f475319c7237293d055b9 (patch)
tree7ea36af739f57c418f73739cd97a25211ee91184 /include/group.php
parentea54987ca4c36623bbbb4923cf1e19e9650431ed (diff)
downloadvolse-hubzilla-5ad9b48f1d916425e41f475319c7237293d055b9.tar.gz
volse-hubzilla-5ad9b48f1d916425e41f475319c7237293d055b9.tar.bz2
volse-hubzilla-5ad9b48f1d916425e41f475319c7237293d055b9.zip
revert f62ec4132ed571288737423de386054a4cc8b0d5 - allow one self to be added to a privacy group.
Diffstat (limited to 'include/group.php')
-rw-r--r--include/group.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/group.php b/include/group.php
index bef008afd..22f221059 100644
--- a/include/group.php
+++ b/include/group.php
@@ -200,7 +200,7 @@ function group_get_members($gid) {
if(intval($gid)) {
$r = q("SELECT * FROM `group_member`
LEFT JOIN abook ON abook_xchan = `group_member`.`xchan` left join xchan on xchan_hash = abook_xchan
- WHERE `gid` = %d AND abook_channel = %d and `group_member`.`uid` = %d and xchan_deleted = 0 and abook_blocked = 0 and abook_pending = 0 ORDER BY xchan_name ASC ",
+ WHERE `gid` = %d AND abook_channel = %d and `group_member`.`uid` = %d and xchan_deleted = 0 and abook_self = 0 and abook_blocked = 0 and abook_pending = 0 ORDER BY xchan_name ASC ",
intval($gid),
intval(local_channel()),
intval(local_channel())