aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Acl.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-30 18:55:56 -0700
committerzotlabs <mike@macgirvin.com>2017-08-30 18:55:56 -0700
commitf436ec6f2176c3b367cee2d40b78fae267ee779a (patch)
tree8022c9dfde5435f0634b66b97aa482668e4bb88b /Zotlabs/Module/Acl.php
parentbe097bf415c898c470e85e89cd059e7121517d15 (diff)
downloadvolse-hubzilla-f436ec6f2176c3b367cee2d40b78fae267ee779a.tar.gz
volse-hubzilla-f436ec6f2176c3b367cee2d40b78fae267ee779a.tar.bz2
volse-hubzilla-f436ec6f2176c3b367cee2d40b78fae267ee779a.zip
some issues with mod_display on very first anonymous page visit (prior to any browser cookies being set)
Diffstat (limited to 'Zotlabs/Module/Acl.php')
-rw-r--r--Zotlabs/Module/Acl.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Module/Acl.php b/Zotlabs/Module/Acl.php
index 19797e634..4d7654f3d 100644
--- a/Zotlabs/Module/Acl.php
+++ b/Zotlabs/Module/Acl.php
@@ -324,8 +324,11 @@ class Acl extends \Zotlabs\Web\Controller {
$r = array();
if($r) {
- foreach($r as $g){
+ foreach($r as $g) {
+ if(($g['network'] === 'rss') && ($type != 'a'))
+ continue;
+
$g['hash'] = urlencode($g['hash']);
if(in_array($g['hash'],$permitted) && $type == 'c' && (! $noforums)) {