mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 05:41:02 +01:00
Fix RRULE issue with trailing colon
This commit is contained in:
parent
be1cd2d832
commit
cf92ec1930
@ -1140,9 +1140,11 @@ class Horde_iCalendar {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$value = str_replace(array("\r", "\n"), array('', '\\n'), $value);
|
$value = str_replace(array("\r", "\n"), array('', '\\n'), $value);
|
||||||
$attr_string = $name . $params_str . ':';
|
$attr_string = $name . $params_str;
|
||||||
if (!empty($value)) {
|
if (!empty($value)) {
|
||||||
$attr_string .= $value;
|
$attr_string .= ':' . $value;
|
||||||
|
} elseif ($name != 'RRULE') {
|
||||||
|
$attr_string .= ':';
|
||||||
}
|
}
|
||||||
if (!$this->isOldFormat()) {
|
if (!$this->isOldFormat()) {
|
||||||
$attr_string = String::wordwrap($attr_string, 75, $this->_newline . ' ',
|
$attr_string = String::wordwrap($attr_string, 75, $this->_newline . ' ',
|
||||||
|
Loading…
Reference in New Issue
Block a user