diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index e3a8baa1bf..4c9b329a07 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -918,7 +918,7 @@ class calendar_uiforms extends calendar_ui $content['alarm'] = array(false); foreach(array_values($event['alarm']) as $id => $alarm) { - if (!$alarm['all'] && !$this->bo->check_perms(EGW_ACL_READALARM,0,$alarm['owner'])) + if (!$alarm['all'] && !$this->bo->check_perms(EGW_ACL_READ,0,$alarm['owner'])) { continue; // no read rights to the calendar of the alarm-owner, dont show the alarm }