diff --git a/phpgwapi/inc/horde/Horde/iCalendar.php b/phpgwapi/inc/horde/Horde/iCalendar.php index 073e6ca2e5..8bacdbd839 100644 --- a/phpgwapi/inc/horde/Horde/iCalendar.php +++ b/phpgwapi/inc/horde/Horde/iCalendar.php @@ -1140,9 +1140,11 @@ 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; + } elseif ($name != 'RRULE') { + $attr_string .= ':'; } if (!$this->isOldFormat()) { $attr_string = String::wordwrap($attr_string, 75, $this->_newline . ' ',