diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-09-03 06:12:54 +1000 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-09-03 06:12:54 +1000 |
commit | 3647b74d338ffb5c85c40cf01bcaa76593e4cb18 (patch) | |
tree | 2b7a195d0c6bd0cde192686c67fdc9e07a59c0e6 | |
parent | 184c544a24144baecf986f3b5627c55e520d0b4a (diff) | |
parent | 441946b9d34d1e1503b5a1e074562acf940adf04 (diff) | |
download | volse-hubzilla-3647b74d338ffb5c85c40cf01bcaa76593e4cb18.tar.gz volse-hubzilla-3647b74d338ffb5c85c40cf01bcaa76593e4cb18.tar.bz2 volse-hubzilla-3647b74d338ffb5c85c40cf01bcaa76593e4cb18.zip |
Merge pull request #389 from zzottel/master
really fix post filtering
-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); |