diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index 4dbec00baa..6f91c122c7 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -1756,7 +1756,7 @@ class calendar_ical extends calendar_boupdate break; case 'Y': // 1.0 - if (preg_match('/YM(\d+)[^#]*#(.\d)/', $recurence, $recurenceMatches)) + if (preg_match('/YM(\d+)[^#]*#(\d+)/', $recurence, $recurenceMatches)) { $vcardData['recur_interval'] = $recurenceMatches[1]; if ($recurenceMatches[2] > 0 && $vcardData['end'])