diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-14 13:16:33 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-14 13:20:48 -0700 |
commit | ebd92d736a9cb4426303354d9aa863e47a97b5ff (patch) | |
tree | 7158ba916d9e798c51f90d33b6e6516ba0df9ecc /Zotlabs/Module | |
parent | 96b7bfb32c86ebb2e6749713fa06722047cec119 (diff) | |
download | volse-hubzilla-ebd92d736a9cb4426303354d9aa863e47a97b5ff.tar.gz volse-hubzilla-ebd92d736a9cb4426303354d9aa863e47a97b5ff.tar.bz2 volse-hubzilla-ebd92d736a9cb4426303354d9aa863e47a97b5ff.zip |
permissions issue
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Settings/Channel.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Settings/Channel.php b/Zotlabs/Module/Settings/Channel.php index 333ef66d4..88c454890 100644 --- a/Zotlabs/Module/Settings/Channel.php +++ b/Zotlabs/Module/Settings/Channel.php @@ -319,14 +319,14 @@ class Channel { foreach($global_perms as $k => $perm) { $options = array(); foreach($perm_opts as $opt) { - if((! strstr($perm,'view')) && $opt[1] == PERMS_PUBLIC) + if((! strstr($k,'view')) && $opt[1] == PERMS_PUBLIC) continue; $options[$opt[1]] = $opt[0]; } $permiss[] = array($k,$perm,$limits[$k],'',$options); } - + $username = $channel['channel_name']; $nickname = $channel['channel_address']; $timezone = $channel['channel_timezone']; |