summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-02-18 09:20:00 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-02-18 09:20:00 (GMT)
commitc7df74d5d0cdf3b292a1034c9a0bb3007e9e0b23 (patch)
tree37629ea214baa68e95323a3c874214cb0b8b35e1 /plugins
parentf7e7df62a28541b0d3bcecf77ffc2819e006924f (diff)
downloadroundcubemail-plugins-kolab-c7df74d5d0cdf3b292a1034c9a0bb3007e9e0b23.tar.gz
Fix updating attendees (do not accidentally set exceptions to thisandfuture)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/calendar/drivers/kolab/kolab_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/calendar/drivers/kolab/kolab_driver.php b/plugins/calendar/drivers/kolab/kolab_driver.php
index ff02fbb..f2a9269 100644
--- a/plugins/calendar/drivers/kolab/kolab_driver.php
+++ b/plugins/calendar/drivers/kolab/kolab_driver.php
@@ -642,7 +642,7 @@ class kolab_driver extends calendar_driver
public function update_attendees(&$event, $attendees)
{
// for this-and-future updates, merge the updated attendees onto all exceptions in range
- if (($event['_savemode'] == 'future' && $event['recurrence_id']) || !empty($event['recurrence'])) {
+ if (($event['_savemode'] == 'future' && $event['recurrence_id']) || (!empty($event['recurrence']) && !$event['recurrence_id'])) {
if (!($storage = $this->get_calendar($event['calendar'])))
return false;