aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/zot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 47bdce568..d306ab15f 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -463,7 +463,8 @@ function zot_refresh($them, $channel = null, $force = false) {
$xx = get_role_perms($role);
if($xx['perms_auto']) {
$default_perms = $xx['perms_connect'];
- $my_perms = \Zotlabs\Access\Permissions::FilledPerms($default_perms);
+ $my_perms = \Zotlabs\Access\Permissions::FilledPerms($default_perms);
+ }
}
if(! $my_perms) {