From d6da8d89800f45d0dc78b122fc2e96a17962554c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Sun, 6 Dec 2009 18:04:08 +0000 Subject: [PATCH] Fix yearly recurrence issue for version 1.0 --- calendar/inc/class.calendar_ical.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'])