aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Settings
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-18 22:25:41 -0700
committerzotlabs <mike@macgirvin.com>2017-06-18 22:25:41 -0700
commitb917cf1eccc62f5f533c0a61ffd699764b39e404 (patch)
tree09c849b0a4e545a360ad6910a2cf322d98dbc494 /Zotlabs/Module/Settings
parent4d5469f27ed2bea05dcfc4c286a9d14413a9e6b6 (diff)
downloadvolse-hubzilla-b917cf1eccc62f5f533c0a61ffd699764b39e404.tar.gz
volse-hubzilla-b917cf1eccc62f5f533c0a61ffd699764b39e404.tar.bz2
volse-hubzilla-b917cf1eccc62f5f533c0a61ffd699764b39e404.zip
allow moderated comments like wordpress if permissions are compatible
Diffstat (limited to 'Zotlabs/Module/Settings')
-rw-r--r--Zotlabs/Module/Settings/Channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Settings/Channel.php b/Zotlabs/Module/Settings/Channel.php
index 7c30ef93e..3e6adcf8d 100644
--- a/Zotlabs/Module/Settings/Channel.php
+++ b/Zotlabs/Module/Settings/Channel.php
@@ -324,7 +324,7 @@ class Channel {
foreach($global_perms as $k => $perm) {
$options = array();
foreach($perm_opts as $opt) {
- if((! strstr($k,'view')) && $opt[1] == PERMS_PUBLIC)
+ if(((! strstr($k,'view')) && $k !== 'post_comments') && $opt[1] == PERMS_PUBLIC)
continue;
$options[$opt[1]] = $opt[0];
}