mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
make alarm content array really empty if all alarms have been stripped out due to ACL issues - otherwise one empty row will be displayed in form
This commit is contained in:
parent
01ecab32bc
commit
f3a21aec7b
@ -997,6 +997,10 @@ class calendar_uiforms extends calendar_ui
|
||||
|
||||
$readonlys['delete_alarm['.$id.']'] = !$this->bo->check_perms(EGW_ACL_EDIT,$alarm['all'] ? $event : 0,$alarm['owner']);
|
||||
}
|
||||
if (count($content['alarm']) == 1)
|
||||
{
|
||||
$content['alarm'] = false; // no alarms added to content array
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user