From 1800367a2da649d897e428b4f21fef86d4e6e026 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Mon, 14 Jun 2010 14:54:24 +0000 Subject: [PATCH] Fix iCalendar v1.0 TZ issue --- 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 3a5c37f186..4a5ef4d09c 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -605,7 +605,7 @@ class calendar_ical extends calendar_boupdate $rrule = $rriter->generate_rrule($version); if ($event['recur_enddate']) { - if ($tzid || $version != '1.0') + if (!$tzid || $version != '1.0') { if (!isset(self::$tz_cache['UTC'])) {