From 237cca7a0d0a025bdbccef19b8e25a687ec7cfa3 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 19 Jul 2016 19:33:48 -0700 Subject: fixes to perms --- include/zot.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') 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; } } -- cgit v1.2.3