aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-19 19:33:48 -0700
committerredmatrix <git@macgirvin.com>2016-07-19 19:33:48 -0700
commit237cca7a0d0a025bdbccef19b8e25a687ec7cfa3 (patch)
treea664e51cb15414454b8d94140bbe65cfd963abf5 /include
parent2c9938f0d555145d4cae53cfc0a66443efd7db29 (diff)
downloadvolse-hubzilla-237cca7a0d0a025bdbccef19b8e25a687ec7cfa3.tar.gz
volse-hubzilla-237cca7a0d0a025bdbccef19b8e25a687ec7cfa3.tar.bz2
volse-hubzilla-237cca7a0d0a025bdbccef19b8e25a687ec7cfa3.zip
fixes to perms
Diffstat (limited to 'include')
-rw-r--r--include/zot.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/zot.php b/include/zot.php
index cc892e13b..dec3dc2bc 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -468,9 +468,9 @@ function zot_refresh($them, $channel = null, $force = false) {
}
if(! $my_perms) {
- $x = \Zotlabs\Access\Permissions::FilledAutoperms($channel['channel_id']);
- if($x) {
- $my_perms = $x;
+ $m = \Zotlabs\Access\Permissions::FilledAutoperms($channel['channel_id']);
+ if($m) {
+ $my_perms = $m;
}
}