mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
Fix RRULE colon bug
This commit is contained in:
parent
c1f385be48
commit
431530c8bb
@ -1039,7 +1039,14 @@ class Horde_iCalendar {
|
||||
|
||||
// Recurrence fields.
|
||||
case 'EXRULE':
|
||||
break;
|
||||
|
||||
case 'RRULE':
|
||||
if (!empty($params_str) && $params_str[0] == ';')
|
||||
{
|
||||
// The standard requires a double colon RRULE:...
|
||||
$params_str[0] = ':';
|
||||
}
|
||||
break;
|
||||
|
||||
case 'PHOTO':
|
||||
@ -1100,7 +1107,6 @@ class Horde_iCalendar {
|
||||
}
|
||||
$value = preg_replace('/\r?\n/', "\n", $value);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
if (!empty($params['ENCODING']) && strlen(trim($value))) {
|
||||
|
Loading…
Reference in New Issue
Block a user