diff options
author | friendica <info@friendica.com> | 2014-06-25 20:32:24 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-06-25 20:32:24 -0700 |
commit | fc7e782ba56a456fc7aca840d679e530dce70544 (patch) | |
tree | a1d6004e042f283830b8d20e88581fcd077dd559 /mod | |
parent | 893c9419f4004eb19536d6238be4429ff038ba9e (diff) | |
download | volse-hubzilla-fc7e782ba56a456fc7aca840d679e530dce70544.tar.gz volse-hubzilla-fc7e782ba56a456fc7aca840d679e530dce70544.tar.bz2 volse-hubzilla-fc7e782ba56a456fc7aca840d679e530dce70544.zip |
sql error
Diffstat (limited to 'mod')
-rw-r--r-- | mod/group.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/group.php b/mod/group.php index 15e4ff2a3..d9bbec78b 100644 --- a/mod/group.php +++ b/mod/group.php @@ -117,7 +117,7 @@ function group_content(&$a) { check_form_security_token_ForbiddenOnErr('group_member_change', 't'); - $r = q("SELECT abook_xchan from abook where abook_xchan = '%s' and abook_channel = %d and not (xchan_flags & %d) and not (abook_flags & %d) and not (abook_flags & %d) limit 1", + $r = q("SELECT abook_xchan from abook left join xchan on abook_xchan = xchan_hash where abook_xchan = '%s' and abook_channel = %d and not (xchan_flags & %d) and not (abook_flags & %d) and not (abook_flags & %d) limit 1", dbesc(argv(2)), intval(local_user()), intval(XCHAN_FLAGS_DELETED), |