From 91e93fecb779852dbf9c6ab2da883f46f761b515 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 15 May 2014 12:21:47 +0200 Subject: [PATCH] Don't overwrite the complete recurrence property, there might be EXDATE or RDATE entries already (#3061) --- plugins/libcalendaring/libvcalendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/libcalendaring/libvcalendar.php b/plugins/libcalendaring/libvcalendar.php index 1dda548d..4fd04654 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);