diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index f2c811bd39..4e3c753ead 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -629,7 +629,7 @@ class calendar_ical extends calendar_boupdate else { $length = ($event['end'] - $event['start']) / 2; - $rrule['UNTIL']->modify($length . ' second'); + $rrule['UNTIL']->modify((int)$length . ' second'); } if (!$tzid || $version != '1.0')