aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-19 20:12:55 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-19 20:12:55 +0100
commit0aa01740d16a148e7b92734b0f15881781367625 (patch)
treebaba1b033312306f7e28303e0a6134713ab5829b /include
parent1c75e71eb3f634dd3cbd24d58f0cf3a483954fd9 (diff)
parent60fcb5f4f2729e6e164abcb515540cc752881b9b (diff)
downloadvolse-hubzilla-0aa01740d16a148e7b92734b0f15881781367625.tar.gz
volse-hubzilla-0aa01740d16a148e7b92734b0f15881781367625.tar.bz2
volse-hubzilla-0aa01740d16a148e7b92734b0f15881781367625.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'include')
-rw-r--r--include/socgraph.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/socgraph.php b/include/socgraph.php
index a5b5d1378..3c7a893c6 100644
--- a/include/socgraph.php
+++ b/include/socgraph.php
@@ -385,7 +385,7 @@ function poco($a,$extended = false) {
$sql_extra = " and abook_self = 0 ";
if($cid)
- $sql_extra = sprintf(" and abook_id = %d and abook_hidden = 0 ",intval($cid));
+ $sql_extra = sprintf(" and abook_id = %d and abook_hidden = 0 and abook_pending = 0 ",intval($cid));
if($system_mode) {
$r = q("SELECT count(*) as total from abook where abook_self = 1