summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-09-11 08:00:48 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-09-11 08:01:05 (GMT)
commit998829f6df3b21cb50c08db39d6469fd43dec4be (patch)
tree8a80a0ee113f1b9009438cdd898c1d8453129c93 /plugins
parentcbc69f9cce5884b13a019cf77877ebe994f14310 (diff)
downloadroundcubemail-plugins-kolab-998829f6df3b21cb50c08db39d6469fd43dec4be.tar.gz
Avoid warnings when event['recurrence'] is a string
Diffstat (limited to 'plugins')
-rw-r--r--plugins/calendar/calendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php
index 6e9324b..6eb5ca5 100644
--- a/plugins/calendar/calendar.php
+++ b/plugins/calendar/calendar.php
@@ -1290,7 +1290,7 @@ class calendar extends rcube_plugin
return;
}
- if ($event['recurrence']['UNTIL'])
+ if (is_array($event['recurrence']) && !empty($event['recurrence']['UNTIL']))
$event['recurrence']['UNTIL'] = new DateTime($event['recurrence']['UNTIL'], $this->timezone);
$attachments = array();