diff options
Diffstat (limited to 'mod/abook.php')
-rw-r--r-- | mod/abook.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/abook.php b/mod/abook.php index 51cebd160..3d73217f1 100644 --- a/mod/abook.php +++ b/mod/abook.php @@ -509,7 +509,7 @@ EOT; } - $r = q("SELECT abook.*, xchan.* FROM abook left join xchan on abook.abook_chan = xchan.xchan_hash + $r = q("SELECT abook.*, xchan.* FROM abook left join xchan on abook.abook_xchan = xchan.xchan_hash WHERE abook_channel = %d and not (abook_flags & %d) $sql_extra $sql_extra2 ORDER BY xchan_name LIMIT %d , %d ", intval(local_user()), intval(ABOOK_FLAG_SELF), |