Fix yearly recurrence issue for version 1.0

This commit is contained in:
Jörg Lehrke 2009-12-06 18:03:45 +00:00
parent 4d046e3727
commit e5887937cc

View File

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