mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 14:10:21 +00:00
Fix ACLFormatterTest
- Add nullable to expand() function again - Add angle bracket support to toString()
This commit is contained in:
parent
37e19d0c14
commit
06bb1bc62d
1 changed files with 4 additions and 4 deletions
|
@ -128,10 +128,10 @@ function remote_permissions_content($a, $item_copy) {
|
|||
/** @var ACLFormatter $aclFormatter */
|
||||
$aclFormatter = BaseObject::getClass(ACLFormatter::class);
|
||||
|
||||
$allowed_users = $aclFormatter->expand($item['allow_cid'] ?? '');
|
||||
$allowed_groups = $aclFormatter->expand($item['allow_gid'] ?? '');
|
||||
$deny_users = $aclFormatter->expand($item['deny_cid'] ?? '');
|
||||
$deny_groups = $aclFormatter->expand($item['deny_gid'] ?? '');
|
||||
$allowed_users = $aclFormatter->expand($item['allow_cid']);
|
||||
$allowed_groups = $aclFormatter->expand($item['allow_gid']);
|
||||
$deny_users = $aclFormatter->expand($item['deny_cid']);
|
||||
$deny_groups = $aclFormatter->expand($item['deny_gid']);
|
||||
|
||||
$o = L10n::t('Visible to:') . '<br />';
|
||||
$allow = [];
|
||||
|
|
Loading…
Reference in a new issue