Fix iCalendar v1.0 TZ issue

This commit is contained in:
Jörg Lehrke 2010-06-14 14:54:24 +00:00
parent 62ddbda9f0
commit 1800367a2d

View File

@ -605,7 +605,7 @@ class calendar_ical extends calendar_boupdate
$rrule = $rriter->generate_rrule($version); $rrule = $rriter->generate_rrule($version);
if ($event['recur_enddate']) if ($event['recur_enddate'])
{ {
if ($tzid || $version != '1.0') if (!$tzid || $version != '1.0')
{ {
if (!isset(self::$tz_cache['UTC'])) if (!isset(self::$tz_cache['UTC']))
{ {