summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-03-28 08:19:49 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-03-28 08:19:49 (GMT)
commit1d2c611a5c04bc562e9f43abc8d86368ffbed17b (patch)
tree36a9a66c6f03286862703b348d24c4f36b312b20
parentb1d2fe2a24054eb5860dc3eb7094d67157dbb6af (diff)
downloadroundcubemail-plugins-kolab-1d2c611a5c04bc562e9f43abc8d86368ffbed17b.tar.gz
Fix mapping of numeric month values to month names (#1713)
-rw-r--r--plugins/libkolab/lib/kolab_format_event.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/libkolab/lib/kolab_format_event.php b/plugins/libkolab/lib/kolab_format_event.php
index 96fcac6..6a399e2 100644
--- a/plugins/libkolab/lib/kolab_format_event.php
+++ b/plugins/libkolab/lib/kolab_format_event.php
@@ -151,7 +151,7 @@ class kolab_format_event extends kolab_format
$ra['BYMONTH'] = $object['start']->format('n');
$this->kolab_object['recurrence']['cycle'] = 'yearly';
- $this->kolab_object['recurrence']['month'] = $this->month_map[intval($ra['BYMONTH'])];
+ $this->kolab_object['recurrence']['month'] = $this->kolab2_monthmap[intval($ra['BYMONTH'])];
if ($ra['BYDAY'] && preg_match('/(-?[1-4])([A-Z]+)/', $ra['BYDAY'], $m)) {
$this->kolab_object['recurrence']['type'] = 'weekday';