diff options
author | friendica <info@friendica.com> | 2013-01-25 05:12:16 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-25 05:12:16 -0800 |
commit | da6276255dd54dd8057f138798af44e7fc40b051 (patch) | |
tree | f8fe47b66190226b3227a19fd5ceefa54a3bb3e2 | |
parent | d8fe7e011513855d9bd0178638bfebd70145b8a5 (diff) | |
download | volse-hubzilla-da6276255dd54dd8057f138798af44e7fc40b051.tar.gz volse-hubzilla-da6276255dd54dd8057f138798af44e7fc40b051.tar.bz2 volse-hubzilla-da6276255dd54dd8057f138798af44e7fc40b051.zip |
api for abook entries
-rw-r--r-- | include/Contact.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Contact.php b/include/Contact.php index 972911c0f..9bb047060 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -1,9 +1,9 @@ <?php -function abook_connections($channel_id, $flags = 0) { +function abook_connections($channel_id, $sql_conditions = '') { $r = q("select * from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d - and not ( abook_flags & %d )", + and not ( abook_flags & %d ) $sql_conditions", intval($channel_id), intval(ABOOK_FLAG_SELF) ); |