Check null for acl-fields
This commit is contained in:
parent
aa94d27e6e
commit
3eda62bfa6
5 changed files with 29 additions and 16 deletions
|
@ -64,10 +64,10 @@ function lockview_content(App $a)
|
|||
/** @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 />';
|
||||
$l = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue