diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2013-09-11 08:00:48 (GMT) |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2013-09-11 08:01:05 (GMT) |
commit | 998829f6df3b21cb50c08db39d6469fd43dec4be (patch) | |
tree | 8a80a0ee113f1b9009438cdd898c1d8453129c93 /plugins | |
parent | cbc69f9cce5884b13a019cf77877ebe994f14310 (diff) | |
download | roundcubemail-plugins-kolab-998829f6df3b21cb50c08db39d6469fd43dec4be.tar.gz |
Avoid warnings when event['recurrence'] is a string
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/calendar/calendar.php | 2 |
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(); |