aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-18 00:55:54 -0700
committerFriendika <info@friendika.com>2011-04-18 00:55:54 -0700
commit4f952979d586d21fbfa4a6cb86726adb754bd5f7 (patch)
tree4ae21056062b713b3efaad40da73d878039e0319 /include
parentb81eefbffbf747b6ec3a65ca0ef771b1e88aa00c (diff)
downloadvolse-hubzilla-4f952979d586d21fbfa4a6cb86726adb754bd5f7.tar.gz
volse-hubzilla-4f952979d586d21fbfa4a6cb86726adb754bd5f7.tar.bz2
volse-hubzilla-4f952979d586d21fbfa4a6cb86726adb754bd5f7.zip
show email contacts in acl selector
Diffstat (limited to 'include')
-rw-r--r--include/acl_selectors.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/acl_selectors.php b/include/acl_selectors.php
index fa700818f..d1303d933 100644
--- a/include/acl_selectors.php
+++ b/include/acl_selectors.php
@@ -57,9 +57,12 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p
$sql_extra .= sprintf(" AND `rel` = %d ", intval(REL_BUD));
}
- if($privmail || $privatenet) {
+ if($privmail) {
$sql_extra .= " AND `network` IN ( 'dfrn' ) ";
- }
+ }
+ elseif($privatenet) {
+ $sql_extra .= " AND `network` IN ( 'dfrn', 'mail' ) ";
+ }
if($privmail)
$o .= "<select name=\"$selname\" id=\"$selclass\" class=\"$selclass\" size=\"$size\" >\r\n";