From 1b2078304179974e010d6e6a89c5fd6e1716ae53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Thu, 19 Nov 2009 11:52:41 +0000 Subject: [PATCH] Fix Yearly RRULE Issue with Funambol Outlook Sync Client --- 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 668ce732c4..b7660ea476 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -1690,7 +1690,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'])