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