aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-31 15:10:36 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-31 15:10:36 -0800
commit1964fa05e1b8874a094922206a1fb5f436194991 (patch)
treecebabfed1fd8e4e56aa25105ff9d8cbbd73dd3de /mod/network.php
parentcaf3a69d999853bb7cc3b7ff525c331e68f2e0ae (diff)
downloadvolse-hubzilla-1964fa05e1b8874a094922206a1fb5f436194991.tar.gz
volse-hubzilla-1964fa05e1b8874a094922206a1fb5f436194991.tar.bz2
volse-hubzilla-1964fa05e1b8874a094922206a1fb5f436194991.zip
issue #239, provide 'Public' text on ACL selector when appropriate to do so.
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php
index 9f0604296..ba2ef761b 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -166,7 +166,7 @@ function network_content(&$a, $update = 0, $load = false) {
'default_location' => $channel['channel_location'],
'nickname' => $channel['channel_address'],
'lockstate' => (($private_editing || $channel['channel_allow_cid'] || $channel['channel_allow_gid'] || $channel['channel_deny_cid'] || $channel['channel_deny_gid']) ? 'lock' : 'unlock'),
- 'acl' => populate_acl((($private_editing) ? $def_acl : $channel_acl)),
+ 'acl' => populate_acl((($private_editing) ? $def_acl : $channel_acl), true, (($channel['channel_r_stream'] & PERMS_PUBLIC) ? t('Public') : '')),
'bang' => (($private_editing) ? '!' : ''),
'visitor' => true,
'profile_uid' => local_channel()