aboutsummaryrefslogtreecommitdiffstats
path: root/include/acl_selectors.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-26 04:39:27 -0700
committerFriendika <info@friendika.com>2011-04-26 04:39:27 -0700
commit245a56f0c1c7db884d0bbd4265f6f74a20442748 (patch)
treeea5e62d6c635e24695975561addd6974410b22ac /include/acl_selectors.php
parent5bcd08f482584a865ba0b32f8c0efee21b836f31 (diff)
downloadvolse-hubzilla-245a56f0c1c7db884d0bbd4265f6f74a20442748.tar.gz
volse-hubzilla-245a56f0c1c7db884d0bbd4265f6f74a20442748.tar.bz2
volse-hubzilla-245a56f0c1c7db884d0bbd4265f6f74a20442748.zip
lots of facebook fixes
Diffstat (limited to 'include/acl_selectors.php')
-rw-r--r--include/acl_selectors.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/acl_selectors.php b/include/acl_selectors.php
index d1303d933..f2763a569 100644
--- a/include/acl_selectors.php
+++ b/include/acl_selectors.php
@@ -48,7 +48,7 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p
$o = '';
- // When used for private messages, we limit correspondence to mutual friends and the selector
+ // When used for private messages, we limit correspondence to mutual DFRN/Friendika friends and the selector
// to one recipient. By default our selector allows multiple selects amongst all contacts.
$sql_extra = '';
@@ -61,7 +61,7 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p
$sql_extra .= " AND `network` IN ( 'dfrn' ) ";
}
elseif($privatenet) {
- $sql_extra .= " AND `network` IN ( 'dfrn', 'mail' ) ";
+ $sql_extra .= " AND `network` IN ( 'dfrn', 'mail', 'face' ) ";
}
if($privmail)
@@ -83,8 +83,6 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p
call_hooks($a->module . '_pre_' . $selname, $arr);
-
-
if(count($r)) {
foreach($r as $rr) {
if((is_array($preselected)) && in_array($rr['id'], $preselected))