mirror of
https://github.com/friendica/friendica
synced 2024-11-18 04:23:41 +00:00
Beautified the code
This commit is contained in:
parent
821429fdf1
commit
635c8d7450
1 changed files with 2 additions and 2 deletions
|
@ -482,8 +482,8 @@ function events_content(App $a) {
|
|||
|
||||
$perms = ACL::getDefaultUserPermissions($orig_event);
|
||||
|
||||
if ($mode === 'new' || $mode === 'copy') {
|
||||
$acl = ($cid ? '' : ACL::getFullSelectorHTML($a->user, false, $orig_event));
|
||||
if (!$cid && in_array($mode, ['new', 'copy'])) {
|
||||
$acl = ACL::getFullSelectorHTML($a->user, false, $orig_event);
|
||||
} else {
|
||||
$acl = '';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue