aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Settings
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-14 13:16:33 -0700
committerzotlabs <mike@macgirvin.com>2016-10-14 13:16:33 -0700
commit47db3452f4eef1b06f2c5f7a2e7fbfe7e2dee5d4 (patch)
tree4bc1926700c3bdd11cfb8de8eceed0726df6d85b /Zotlabs/Module/Settings
parent40e03a05be8273a0c5fcebeeab127009976d6086 (diff)
downloadvolse-hubzilla-47db3452f4eef1b06f2c5f7a2e7fbfe7e2dee5d4.tar.gz
volse-hubzilla-47db3452f4eef1b06f2c5f7a2e7fbfe7e2dee5d4.tar.bz2
volse-hubzilla-47db3452f4eef1b06f2c5f7a2e7fbfe7e2dee5d4.zip
permissions issue
Diffstat (limited to 'Zotlabs/Module/Settings')
-rw-r--r--Zotlabs/Module/Settings/Channel.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Settings/Channel.php b/Zotlabs/Module/Settings/Channel.php
index af640d75d..fbd4b660d 100644
--- a/Zotlabs/Module/Settings/Channel.php
+++ b/Zotlabs/Module/Settings/Channel.php
@@ -319,7 +319,7 @@ 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];
}
@@ -327,7 +327,7 @@ class Channel {
}
- //logger('permiss: ' . print_r($permiss,true));
+ logger('permiss: ' . print_r($permiss,true));