fixes to perms

This commit is contained in:
redmatrix
2016-07-19 19:33:48 -07:00
parent 2c9938f0d5
commit 237cca7a0d
2 changed files with 4 additions and 4 deletions

View File

@@ -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;
}
}