From c819f15dbc8b69e46d1962a4596d9e240ed312a8 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 2 Oct 2009 09:05:09 +0000 Subject: [PATCH] fixing a problem regarding the datehandling in Horde/iCalendar.php reported by Chr.Kaulich --- phpgwapi/inc/horde/Horde/iCalendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/horde/Horde/iCalendar.php b/phpgwapi/inc/horde/Horde/iCalendar.php index 20dfcba71b..194370932b 100644 --- a/phpgwapi/inc/horde/Horde/iCalendar.php +++ b/phpgwapi/inc/horde/Horde/iCalendar.php @@ -924,7 +924,7 @@ class Horde_iCalendar { function _exportDateTime($value) { $temp = array(); - if (!is_object($value) || is_array($value)) { + if (!is_object($value) && !is_array($value)) { $TZOffset = 3600 * substr(date('O',$value), 0, 3); $TZOffset += 60 * substr(date('O',$value), 3, 2); $value -= $TZOffset;