diff options
author | Friendika <info@friendika.com> | 2010-11-08 02:45:22 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-11-08 02:45:22 -0800 |
commit | 2c27bda385fe429423a2e0ffa3022846867748d0 (patch) | |
tree | 777012a087b681453f88cf82efdf04cd34497422 /boot.php | |
parent | a8d6d72b7bcfbd36d37bc36bbc892ddc3ead477e (diff) | |
download | volse-hubzilla-2c27bda385fe429423a2e0ffa3022846867748d0.tar.gz volse-hubzilla-2c27bda385fe429423a2e0ffa3022846867748d0.tar.bz2 volse-hubzilla-2c27bda385fe429423a2e0ffa3022846867748d0.zip |
don't include blocked contacts in total
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1390,7 +1390,7 @@ function contact_block() { $a = get_app(); if((! is_array($a->profile)) || ($a->profile['hide-friends'])) return $o; - $r = q("SELECT COUNT(*) AS `total` FROM `contact` WHERE `uid` = %d AND `self` = 0 ", + $r = q("SELECT COUNT(*) AS `total` FROM `contact` WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 and `pending` = 0", intval($a->profile['uid']) ); if(count($r)) { |