mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +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