From c8d5274ceea95bdf9df5ca2ab698fa9860319e31 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 5 Dec 2011 02:16:59 -0800 Subject: data structures to support hidden friends --- mod/poco.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/poco.php') diff --git a/mod/poco.php b/mod/poco.php index 6331131fa..dd8df6008 100644 --- a/mod/poco.php +++ b/mod/poco.php @@ -54,7 +54,7 @@ function poco_init(&$a) { and uid in (select uid from pconfig where cat = 'system' and k = 'suggestme' and v = 1) "); } else { - $r = q("SELECT count(*) as `total` from `contact` where `uid` = %d and blocked = 0 and pending = 0 + $r = q("SELECT count(*) as `total` from `contact` where `uid` = %d and blocked = 0 and pending = 0 and hidden = 0 $sql_extra ", intval($user['uid']) ); @@ -79,7 +79,7 @@ function poco_init(&$a) { } else { - $r = q("SELECT * from `contact` where `uid` = %d and blocked = 0 and pending = 0 + $r = q("SELECT * from `contact` where `uid` = %d and blocked = 0 and pending = 0 and hidden = 0 $sql_extra LIMIT %d, %d", intval($user['uid']), intval($startIndex), -- cgit v1.2.3