aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Access/PermissionLimits.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-20 18:34:17 -0700
committerzotlabs <mike@macgirvin.com>2017-06-20 18:34:17 -0700
commit08c0729f5ff8ac97c27db08ae2dde1a052c71e25 (patch)
tree9ce2ee515601a79156e89e5158fc3b8047f6e90a /Zotlabs/Access/PermissionLimits.php
parent234c64574b4ee5ca22b85ae2fecc301286423068 (diff)
parent76e98091690cf5f2726bf7cefea217d49b23a5b4 (diff)
downloadvolse-hubzilla-08c0729f5ff8ac97c27db08ae2dde1a052c71e25.tar.gz
volse-hubzilla-08c0729f5ff8ac97c27db08ae2dde1a052c71e25.tar.bz2
volse-hubzilla-08c0729f5ff8ac97c27db08ae2dde1a052c71e25.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'Zotlabs/Access/PermissionLimits.php')
-rw-r--r--Zotlabs/Access/PermissionLimits.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Access/PermissionLimits.php b/Zotlabs/Access/PermissionLimits.php
index 909b654d5..8caeedb91 100644
--- a/Zotlabs/Access/PermissionLimits.php
+++ b/Zotlabs/Access/PermissionLimits.php
@@ -10,7 +10,7 @@ class PermissionLimits {
$perms = Permissions::Perms();
$limits = array();
foreach($perms as $k => $v) {
- if(strstr($k,'view'))
+ if(strstr($k,'view') || $k === 'post_comments')
$limits[$k] = PERMS_PUBLIC;
else
$limits[$k] = PERMS_SPECIFIC;