diff --git a/calendar/inc/class.calendar_so.inc.php b/calendar/inc/class.calendar_so.inc.php index bbd41c16d5..b18dd5f26f 100644 --- a/calendar/inc/class.calendar_so.inc.php +++ b/calendar/inc/class.calendar_so.inc.php @@ -2328,7 +2328,7 @@ ORDER BY cal_user_type, cal_usre_id } } //error_log(__METHOD__."(".array2string($cal_id).") returning ".array2string($alarms)); - return $alarms; + return $alarms ? $alarms : array(); } /**