hide hidden entries
This commit is contained in:
parent
4062be2869
commit
6845d22285
@ -264,10 +264,12 @@ function suggestion_query($uid, $myxchan, $start = 0, $limit = 80) {
|
||||
where not xchan_hash in ( select abook_xchan from abook where abook_channel = %d )
|
||||
and not xchan_hash in ( select xchan from xign where uid = %d )
|
||||
and xchan_hash != '%s'
|
||||
and not ( xchan_flags & %d )
|
||||
group by xchan_hash order by total desc limit %d, %d ",
|
||||
intval($uid),
|
||||
intval($uid),
|
||||
dbesc($myxchan),
|
||||
intval(XCHAN_FLAGS_HIDDEN),
|
||||
intval($start),
|
||||
intval($limit)
|
||||
);
|
||||
|
Reference in New Issue
Block a user