This commit is contained in:
Jörg Lehrke 2011-06-25 12:13:36 +00:00
parent b2b27ece2e
commit 5e8e806651

View File

@ -2490,7 +2490,7 @@ class calendar_ical extends calendar_boupdate
break; break;
case 'M': case 'M':
if (preg_match('/MD(\d+)(?: [^ ])? #(\d+)/', $recurence, $recurenceMatches)) if (preg_match('/MD(\d+)(?: [^ ]+)? #(\d+)/', $recurence, $recurenceMatches))
{ {
$vcardData['recur_type'] = MCAL_RECUR_MONTHLY_MDAY; $vcardData['recur_type'] = MCAL_RECUR_MONTHLY_MDAY;
$vcardData['recur_interval'] = $recurenceMatches[1]; $vcardData['recur_interval'] = $recurenceMatches[1];