From afd6dd3ef0bf2d71f7dda1058ec429df39876e45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Wed, 25 Nov 2009 08:52:09 +0000 Subject: [PATCH] Fix empty value issue --- phpgwapi/inc/horde/Horde/iCalendar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/horde/Horde/iCalendar.php b/phpgwapi/inc/horde/Horde/iCalendar.php index f5f7045ca6..8b392996a3 100644 --- a/phpgwapi/inc/horde/Horde/iCalendar.php +++ b/phpgwapi/inc/horde/Horde/iCalendar.php @@ -1140,9 +1140,9 @@ class Horde_iCalendar { } } else { $value = str_replace(array("\r", "\n"), array('', '\\n'), $value); - $attr_string = $name . $params_str; + $attr_string = $name . $params_str . ':'; if (!empty($value)) { - $attr_string .= ':' . $value; + $attr_string .= $value; } if (!$this->isOldFormat()) { $attr_string = String::wordwrap($attr_string, 75, $this->_newline . ' ',