From 47db3452f4eef1b06f2c5f7a2e7fbfe7e2dee5d4 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Fri, 14 Oct 2016 13:16:33 -0700 Subject: permissions issue --- Zotlabs/Module/Settings/Channel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Zotlabs/Module') 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)); -- cgit v1.2.3