From 441946b9d34d1e1503b5a1e074562acf940adf04 Mon Sep 17 00:00:00 2001 From: zottel Date: Wed, 2 Sep 2015 15:49:07 +0200 Subject: really fix post filtering --- include/zot.php | 4 ++-- 1 file 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); -- cgit v1.2.3