diff options
author | zotlabs <mike@macgirvin.com> | 2017-11-18 12:29:20 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-11-18 12:29:20 -0800 |
commit | 60fcb5f4f2729e6e164abcb515540cc752881b9b (patch) | |
tree | ee5d0e189790261eaf1408d386d38758910841c7 | |
parent | eb1e9edd333161ae600d91ef49ef09dc04fce473 (diff) | |
download | volse-hubzilla-60fcb5f4f2729e6e164abcb515540cc752881b9b.tar.gz volse-hubzilla-60fcb5f4f2729e6e164abcb515540cc752881b9b.tar.bz2 volse-hubzilla-60fcb5f4f2729e6e164abcb515540cc752881b9b.zip |
don't include pending connections in poco
-rw-r--r-- | include/socgraph.php | 2 |
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 |