Beautified the code
This commit is contained in:
parent
821429fdf1
commit
635c8d7450
|
@ -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 = '';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue