aboutsummaryrefslogtreecommitdiffstats
path: root/include/socgraph.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-04-29 21:49:43 -0700
committerfriendica <info@friendica.com>2015-04-29 21:49:43 -0700
commitc4221f32738dac51f691d5be1bebd2b50318521e (patch)
treee353242b42ca2942d7fe6d29888568c8bfe821ee /include/socgraph.php
parent6679734135fb04f4a7beccb81663bf1e9574f062 (diff)
parent2376d2140ab6eeb8a44d7582a52978520844e229 (diff)
downloadvolse-hubzilla-c4221f32738dac51f691d5be1bebd2b50318521e.tar.gz
volse-hubzilla-c4221f32738dac51f691d5be1bebd2b50318521e.tar.bz2
volse-hubzilla-c4221f32738dac51f691d5be1bebd2b50318521e.zip
Merge branch 'master' into tres
Conflicts: include/notifier.php
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 .