aboutsummaryrefslogtreecommitdiffstats
path: root/include/acl_selectors.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-21 15:25:10 -0800
committerFriendika <info@friendika.com>2010-11-21 15:25:10 -0800
commitf1630780e9d81a3e7cd41d76d7a6fa7b4c125edb (patch)
tree4da9b43e2280f7ffd2f9dc05225897195d8c481b /include/acl_selectors.php
parentf7760a9f5b3dc72623281c234b3108d4442d5a78 (diff)
downloadvolse-hubzilla-f1630780e9d81a3e7cd41d76d7a6fa7b4c125edb.tar.gz
volse-hubzilla-f1630780e9d81a3e7cd41d76d7a6fa7b4c125edb.tar.bz2
volse-hubzilla-f1630780e9d81a3e7cd41d76d7a6fa7b4c125edb.zip
add google buzz
Diffstat (limited to 'include/acl_selectors.php')
-rw-r--r--include/acl_selectors.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/acl_selectors.php b/include/acl_selectors.php
index 9bbd6bcb4..d0952421e 100644
--- a/include/acl_selectors.php
+++ b/include/acl_selectors.php
@@ -40,7 +40,7 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p
$sql_extra = '';
if($privmail || $celeb) {
- $sql_extra = sprintf(" AND `rel` = %d ", intval(REL_BUD));
+ $sql_extra .= sprintf(" AND `rel` = %d ", intval(REL_BUD));
}
if($privmail)
@@ -49,7 +49,7 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p
$o .= "<select name=\"{$selname}[]\" id=\"$selclass\" class=\"$selclass\" multiple=\"multiple\" size=\"$size\" >\r\n";
$r = q("SELECT `id`, `name`, `url`, `network` FROM `contact`
- WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `pending` = 0
+ WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `pending` = 0 AND `notify` != ''
$sql_extra
ORDER BY `name` ASC ",
intval(local_user())