Beautified the code

This commit is contained in:
Michael 2018-09-04 21:24:30 +00:00
parent 821429fdf1
commit 635c8d7450

View File

@ -482,8 +482,8 @@ function events_content(App $a) {
$perms = ACL::getDefaultUserPermissions($orig_event); $perms = ACL::getDefaultUserPermissions($orig_event);
if ($mode === 'new' || $mode === 'copy') { if (!$cid && in_array($mode, ['new', 'copy'])) {
$acl = ($cid ? '' : ACL::getFullSelectorHTML($a->user, false, $orig_event)); $acl = ACL::getFullSelectorHTML($a->user, false, $orig_event);
} else { } else {
$acl = ''; $acl = '';
} }