diff options
author | Friendika <info@friendika.com> | 2010-11-06 16:34:26 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-11-06 16:34:26 -0700 |
commit | be203d592d6aca02359ef4714fb9c9ce8a617bad (patch) | |
tree | ec8c4a286fe7afffade267d46082f561e7d9a091 /boot.php | |
parent | ea4c6080f9d6b9d1faab6adf8f2928ed8059ea17 (diff) | |
download | volse-hubzilla-be203d592d6aca02359ef4714fb9c9ce8a617bad.tar.gz volse-hubzilla-be203d592d6aca02359ef4714fb9c9ce8a617bad.tar.bz2 volse-hubzilla-be203d592d6aca02359ef4714fb9c9ce8a617bad.zip |
don't show blocked/pending contacts
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1400,7 +1400,7 @@ function contact_block() { $o .= '<h4 class="contact-h4">' . t('No contacts') . '</h4>'; return $o; } - $r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `self` = 0 ORDER BY RAND() LIMIT 24", + $r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 and `pending` = 0 ORDER BY RAND() LIMIT 24", intval($a->profile['uid']) ); if(count($r)) { |