mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
dont avoid empty fields, as some are required by vCard, eg. FN
This commit is contained in:
parent
acefa266b4
commit
4296d0c31f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user