From 7ab832fe9f8fc7bceab969adbf6213c3a8d88297 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 6 May 2016 13:54:08 +0000 Subject: [PATCH] set a default in paramslist for shift_alarm parm 3 (timestamp) to avoid php-warning and comply to the function description --- calendar/inc/class.calendar_so.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_so.inc.php b/calendar/inc/class.calendar_so.inc.php index e2c250516c..fa87d5691a 100644 --- a/calendar/inc/class.calendar_so.inc.php +++ b/calendar/inc/class.calendar_so.inc.php @@ -1696,7 +1696,7 @@ ORDER BY cal_user_type, cal_usre_id * are dealing with, default is now. * @return boolean true if alarm could be shifted, false if not */ - public static function shift_alarm(array $_event, array &$alarm, $timestamp) + public static function shift_alarm(array $_event, array &$alarm, $timestamp=null) { if ($_event['recur_type'] == MCAL_RECUR_NONE) {