aboutsummaryrefslogtreecommitdiffstats
path: root/mod/poco.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2011-12-06 00:02:29 -0800
committerzottel <github@zottel.net>2011-12-06 00:02:29 -0800
commitcd3a02ab8e5aa2dc56ba3939e5d480e4966b11aa (patch)
tree2efc84f14303c5d8dd283a93b64f02851e969e3f /mod/poco.php
parentc5c99089ff363831f199e27c188410fec682fda5 (diff)
parent47f369e052d296f4a744c1508efc58f6168b7e8b (diff)
downloadvolse-hubzilla-cd3a02ab8e5aa2dc56ba3939e5d480e4966b11aa.tar.gz
volse-hubzilla-cd3a02ab8e5aa2dc56ba3939e5d480e4966b11aa.tar.bz2
volse-hubzilla-cd3a02ab8e5aa2dc56ba3939e5d480e4966b11aa.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'mod/poco.php')
-rw-r--r--mod/poco.php4
1 files changed, 2 insertions, 2 deletions
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),