aboutsummaryrefslogtreecommitdiffstats
path: root/include/socgraph.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/socgraph.php')
-rw-r--r--include/socgraph.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/socgraph.php b/include/socgraph.php
index d8e2e1958..3e8bcc19e 100644
--- a/include/socgraph.php
+++ b/include/socgraph.php
@@ -466,7 +466,7 @@ function poco($a,$extended = false) {
$sql_extra = " and abook_flags = 0 ";
if($cid)
- $sql_extra = sprintf(" and abook_id = %d ",intval($cid));
+ $sql_extra = sprintf(" and abook_id = %d and ( abook_flags & " . ABOOK_FLAG_HIDDEN . " ) = 0 ",intval($cid));
if($system_mode) {
$r = q("SELECT count(*) as `total` from abook where ( abook_flags & " . ABOOK_FLAG_SELF .