aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Settings
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-07-30 17:41:37 -0700
committerzotlabs <mike@macgirvin.com>2018-07-30 17:41:37 -0700
commite8aeecc4c9842d4c6b25f7b488ede9644afc5d78 (patch)
tree5917ab02693599f5a069667c404f32a1dd649c86 /Zotlabs/Module/Settings
parent32614e4074758d6112993d71169664a3c29e90b2 (diff)
downloadvolse-hubzilla-e8aeecc4c9842d4c6b25f7b488ede9644afc5d78.tar.gz
volse-hubzilla-e8aeecc4c9842d4c6b25f7b488ede9644afc5d78.tar.bz2
volse-hubzilla-e8aeecc4c9842d4c6b25f7b488ede9644afc5d78.zip
When checking permissions ignore checking site "Block Public" settings in cases where site permissions aren't applicable
Diffstat (limited to 'Zotlabs/Module/Settings')
-rw-r--r--Zotlabs/Module/Settings/Tokens.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Settings/Tokens.php b/Zotlabs/Module/Settings/Tokens.php
index 619c8b5ba..e59cf8d1c 100644
--- a/Zotlabs/Module/Settings/Tokens.php
+++ b/Zotlabs/Module/Settings/Tokens.php
@@ -117,7 +117,7 @@ class Tokens {
$global_perms = \Zotlabs\Access\Permissions::Perms();
$their_perms = [];
- $existing = get_all_perms(local_channel(),(($atoken_xchan) ? $atoken_xchan : ''));
+ $existing = get_all_perms(local_channel(),(($atoken_xchan) ? $atoken_xchan : ''),false);
if($atoken_xchan) {
$theirs = q("select * from abconfig where chan = %d and xchan = '%s' and cat = 'their_perms'",