commit
3647b74d33
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user