plugins/libcalendaring

Thomas Brüderli bruederli at kolabsys.com
Thu May 15 12:22:06 CEST 2014


 plugins/libcalendaring/libvcalendar.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 91e93fecb779852dbf9c6ab2da883f46f761b515
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Thu May 15 12:21:47 2014 +0200

    Don't overwrite the complete recurrence property, there might be EXDATE or RDATE entries already (#3061)

diff --git a/plugins/libcalendaring/libvcalendar.php b/plugins/libcalendaring/libvcalendar.php
index 1dda548..4fd0465 100644
--- a/plugins/libcalendaring/libvcalendar.php
+++ b/plugins/libcalendaring/libvcalendar.php
@@ -422,7 +422,7 @@ class libvcalendar implements Iterator
                 break;
 
             case 'RRULE':
-                $params = array();
+                $params = is_array($event['recurrence']) ? $event['recurrence'] : array();
                 // parse recurrence rule attributes
                 foreach (explode(';', $prop->value) as $par) {
                     list($k, $v) = explode('=', $par);




More information about the commits mailing list