From 6845d22285e48015ba53c1d3d0f7c6a461f91611 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 5 Mar 2013 21:04:47 -0800 Subject: hide hidden entries --- include/socgraph.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/socgraph.php b/include/socgraph.php index 678d13d11..3970acd0d 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -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) ); -- cgit v1.2.3