From 83d00a845a6589d818ef565d01dac00aae7ec075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Mon, 5 Oct 2009 04:38:09 +0000 Subject: [PATCH] Fix VTIMEZONE part of VCALENDAR --- phpgwapi/inc/horde/Horde/iCalendar.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/horde/Horde/iCalendar.php b/phpgwapi/inc/horde/Horde/iCalendar.php index 6144a3c5f2..2d744ed597 100644 --- a/phpgwapi/inc/horde/Horde/iCalendar.php +++ b/phpgwapi/inc/horde/Horde/iCalendar.php @@ -875,7 +875,8 @@ class Horde_iCalendar { // VERSION is not allowed for entries enclosed in VCALENDAR/ICALENDAR, // as it is part of the enclosing VCALENDAR/ICALENDAR. See rfc2445 if ($base !== 'VEVENT' && $base !== 'VTODO' && $base !== 'VALARM' && - $base !== 'VJOURNAL' && $base !== 'VFREEBUSY') { + $base !== 'VJOURNAL' && $base !== 'VFREEBUSY' && + $base !== 'VTIMEZONE' && $base !== 'STANDARD' && $base != 'DAYLIGHT') { // Ensure that version is the first attribute. $result .= 'VERSION:' . $this->_version . $this->_newline; }