aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-03-05 21:04:47 -0800
committerfriendica <info@friendica.com>2013-03-05 21:04:47 -0800
commit6845d22285e48015ba53c1d3d0f7c6a461f91611 (patch)
tree8ce778886335955295099265b99ff6533b0ef905
parent4062be28699eb5fba93ff43ffb4d3e9ed7c4af6c (diff)
downloadvolse-hubzilla-6845d22285e48015ba53c1d3d0f7c6a461f91611.tar.gz
volse-hubzilla-6845d22285e48015ba53c1d3d0f7c6a461f91611.tar.bz2
volse-hubzilla-6845d22285e48015ba53c1d3d0f7c6a461f91611.zip
hide hidden entries
-rw-r--r--include/socgraph.php2
1 files changed, 2 insertions, 0 deletions
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)
);