Branch 'roundcubemail-plugins-kolab-format2-horde5' - plugins/libkolab

Thomas Brüderli bruederli at kolabsys.com
Thu Mar 28 09:20:05 CET 2013


 plugins/libkolab/lib/kolab_format_event.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1d2c611a5c04bc562e9f43abc8d86368ffbed17b
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Thu Mar 28 09:19:49 2013 +0100

    Fix mapping of numeric month values to month names (#1713)

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';





More information about the commits mailing list