forked from friendica/friendica-addons
Merge pull request #908 from nupplaphil/bug/fix_travis_test
[remote_permissions] Fix ACLFormatterTest
This commit is contained in:
commit
03b39712b9
1 changed files with 4 additions and 4 deletions
|
@ -128,10 +128,10 @@ function remote_permissions_content($a, $item_copy) {
|
||||||
/** @var ACLFormatter $aclFormatter */
|
/** @var ACLFormatter $aclFormatter */
|
||||||
$aclFormatter = BaseObject::getClass(ACLFormatter::class);
|
$aclFormatter = BaseObject::getClass(ACLFormatter::class);
|
||||||
|
|
||||||
$allowed_users = $aclFormatter->expand($item['allow_cid'] ?? '');
|
$allowed_users = $aclFormatter->expand($item['allow_cid']);
|
||||||
$allowed_groups = $aclFormatter->expand($item['allow_gid'] ?? '');
|
$allowed_groups = $aclFormatter->expand($item['allow_gid']);
|
||||||
$deny_users = $aclFormatter->expand($item['deny_cid'] ?? '');
|
$deny_users = $aclFormatter->expand($item['deny_cid']);
|
||||||
$deny_groups = $aclFormatter->expand($item['deny_gid'] ?? '');
|
$deny_groups = $aclFormatter->expand($item['deny_gid']);
|
||||||
|
|
||||||
$o = L10n::t('Visible to:') . '<br />';
|
$o = L10n::t('Visible to:') . '<br />';
|
||||||
$allow = [];
|
$allow = [];
|
||||||
|
|
Loading…
Reference in a new issue