aboutsummaryrefslogtreecommitdiffstats
path: root/view/acl_selectors.php
diff options
context:
space:
mode:
Diffstat (limited to 'view/acl_selectors.php')
-rw-r--r--view/acl_selectors.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/acl_selectors.php b/view/acl_selectors.php
index b22099ddf..42cd7a981 100644
--- a/view/acl_selectors.php
+++ b/view/acl_selectors.php
@@ -38,7 +38,7 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p
// to one recipient. By default our selector allows multiple selects amongst all contacts.
if($privmail) {
- $sql_extra = " AND `issued-id` != '' AND `dfrn-id` != '' ";
+ $sql_extra = sprintf(" AND `rel` = %d ", intval(DIRECTION_BOTH));
$o .= "<select name=\"$selname\" class=\"$selclass\" size=\"$size\" />\r\n";
}
else {