diff options
author | zotlabs <mike@macgirvin.com> | 2016-12-04 11:42:40 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-12-04 11:42:40 -0800 |
commit | 6346c005278d83df3b6b6ae0880ee48f4b5c936e (patch) | |
tree | 82be8eadb49d8c9e43ef13012cc023be6b74f7ba /include | |
parent | bd4bdab81ce6b6d2cd8f602677e5cbb299c0c6b0 (diff) | |
download | volse-hubzilla-6346c005278d83df3b6b6ae0880ee48f4b5c936e.tar.gz volse-hubzilla-6346c005278d83df3b6b6ae0880ee48f4b5c936e.tar.bz2 volse-hubzilla-6346c005278d83df3b6b6ae0880ee48f4b5c936e.zip |
bugfix for api group_members
Diffstat (limited to 'include')
-rw-r--r-- | include/api_zot.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/api_zot.php b/include/api_zot.php index 256339bad..a01bc8804 100644 --- a/include/api_zot.php +++ b/include/api_zot.php @@ -237,8 +237,8 @@ } if($r) { - $x = q("select * from group_member left join xchan on group_member.xchan = xchan.xchan_hash - left join abook on abook_xchan = xchan_hash where gid = %d", + $x = q("select * from group_member left join abook on abook_xchan = xchan and abook_channel = group_member.uid left join xchan on group_member.xchan = xchan.xchan_hash + where gid = %d", intval($r[0]['id']) ); json_return_and_die($x); |