Fix empty ORGANIZER/ATTENDEE

This commit is contained in:
Jörg Lehrke 2010-02-28 12:53:49 +00:00
parent 444f714020
commit 2b0d9f5b43

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' && $name != 'ATTENDEE' && $name != 'ORGANIZER') { } elseif ($name != 'RRULE') {
$attr_string .= ':'; $attr_string .= ':';
} }
if (!$this->isOldFormat()) { if (!$this->isOldFormat()) {