diff options
author | zottel <github@zottel.net> | 2015-09-02 15:49:07 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2015-09-02 15:49:07 +0200 |
commit | 441946b9d34d1e1503b5a1e074562acf940adf04 (patch) | |
tree | 2b7a195d0c6bd0cde192686c67fdc9e07a59c0e6 /include | |
parent | 184c544a24144baecf986f3b5627c55e520d0b4a (diff) | |
download | volse-hubzilla-441946b9d34d1e1503b5a1e074562acf940adf04.tar.gz volse-hubzilla-441946b9d34d1e1503b5a1e074562acf940adf04.tar.bz2 volse-hubzilla-441946b9d34d1e1503b5a1e074562acf940adf04.zip |
really fix post filtering
Diffstat (limited to 'include')
-rw-r--r-- | include/zot.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/zot.php b/include/zot.php index 76f73934d..55870c2b9 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1661,9 +1661,9 @@ function process_delivery($sender, $arr, $deliveries, $relay, $public = false, $ } } - $ab = q("select abook.* from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and (abook_flags & %d) = 0", + $ab = q("select * from abook where abook_channel = %d and abook_xchan = '%s'", intval($channel['channel_id']), - intval(ABOOK_FLAG_SELF) + $arr['owner_xchan'] ); $abook = (($ab) ? $ab[0] : null); |