From: Friendika Date: Mon, 18 Apr 2011 07:55:54 +0000 (-0700) Subject: show email contacts in acl selector X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4f952979d586d21fbfa4a6cb86726adb754bd5f7;p=friendica.git show email contacts in acl selector --- diff --git a/include/acl_selectors.php b/include/acl_selectors.php index fa700818ff..d1303d933e 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 .= "