Fix Yearly RRULE Issue with Funambol Outlook Sync Client

This commit is contained in:
Jörg Lehrke 2009-11-19 11:50:59 +00:00
parent 30a6a67337
commit cf32f68858

View File

@ -1738,7 +1738,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'])