forked from extern/egroupware
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