Fix saving BYPOS recurrence with a number preceding a day name (Bifrost#T29113)
A regression caused by T1582: Support BYSETPOS recurrence on event import
This commit is contained in:
parent
56f6338b32
commit
007fc47bfc
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ abstract class kolab_format_xcal extends kolab_format
|
|||
if (isset($this->weekday_map[$day])) {
|
||||
// @TODO: libkolabxml does not support BYSETPOS, neither we.
|
||||
// However, we can convert most common cases to BYDAY
|
||||
if (!$occurence && $freq == 'MONTHLY' && !empty($bysetpos)) {
|
||||
if (!$occurrence && $freq == 'MONTHLY' && !empty($bysetpos)) {
|
||||
foreach ($bysetpos as $pos) {
|
||||
$byday->push(new DayPos(intval($pos), $this->weekday_map[$day]));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue