diff options
Diffstat (limited to 'include/onepoll.php')
-rw-r--r-- | include/onepoll.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/onepoll.php b/include/onepoll.php index d6d06eda1..131f02fad 100644 --- a/include/onepoll.php +++ b/include/onepoll.php @@ -31,7 +31,7 @@ function onepoll_run($argv, $argc){ $contacts = q("SELECT abook.*, xchan.*, account.* - FROM abook LEFT JOIN account on abook_account = account_id left join xchan on xchan_hash = abook_hash + FROM abook LEFT JOIN account on abook_account = account_id left join xchan on xchan_hash = abook_xchan where abook_id = %d AND not ( abook_flags & %d ) AND not ( abook_flags & %d ) AND not ( abook_flags & %d ) AND not ( abook_flags & %d ) |