From 4296d0c31f7837aebb6cfce8ef3673ba5af907dd Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 4 Jul 2008 11:22:25 +0000 Subject: [PATCH] dont avoid empty fields, as some are required by vCard, eg. FN --- phpgwapi/inc/horde/Horde/iCalendar.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/phpgwapi/inc/horde/Horde/iCalendar.php b/phpgwapi/inc/horde/Horde/iCalendar.php index ea6f182b65..93715393d0 100644 --- a/phpgwapi/inc/horde/Horde/iCalendar.php +++ b/phpgwapi/inc/horde/Horde/iCalendar.php @@ -801,10 +801,7 @@ class Horde_iCalendar { . $this->_quotedPrintableEncode($value) . $this->_newline; } else { -# JVL: prevent : for empty values -# $attr_string = "$name$params_str:$value"; - $attr_string = "$name$params_str"; - $attr_string .= (!empty($value)) ? ":$value" : ';'; + $attr_string = "$name$params_str:$value"; $result .= $this->_foldLine($attr_string) . $this->_newline; }