Fix empty field issue

This commit is contained in:
Jörg Lehrke 2010-02-23 18:18:10 +00:00
parent 0b79a0466d
commit de840a1fcc

View File

@ -1222,7 +1222,7 @@ class Horde_iCalendar {
$attr_string = $name . $params_str; $attr_string = $name . $params_str;
if (strlen($value) > 0) { if (strlen($value) > 0) {
$attr_string .= ':' . $value; $attr_string .= ':' . $value;
} elseif ($name != 'RRULE') { } elseif ($name != 'RRULE' && $name != 'ATTENDEE' && $name != 'ORGANIZER') {
$attr_string .= ':'; $attr_string .= ':';
} }
if (!$this->isOldFormat()) { if (!$this->isOldFormat()) {