diff options
Diffstat (limited to 'view/acl_selectors.php')
-rw-r--r-- | view/acl_selectors.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/view/acl_selectors.php b/view/acl_selectors.php index e3ee8c879..09ce24d0e 100644 --- a/view/acl_selectors.php +++ b/view/acl_selectors.php @@ -36,7 +36,9 @@ function contact_select($selname,$selclass,$preselected = false,$size = 4) { $o .= "<select name=\"{$selname}[]\" class=\"$selclass\" multiple=\"multiple\" size=\"$size\" />\r\n"; - $r = q("SELECT `id`, `name` FROM `contact` WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 ORDER BY `name` ASC ", + $r = q("SELECT `id`, `name` FROM `contact` + WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `pending` = 0 + ORDER BY `name` ASC ", $_SESSION['uid'] ); |