summaryrefslogtreecommitdiff
path: root/plugins/calendar
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-02-26 13:46:51 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-02-26 14:05:55 (GMT)
commitef017d4eb059907ce7581f5e1b7842271eeb8efd (patch)
treea8d298da9491a00a8c30dcdc61a315b6b7ad867b /plugins/calendar
parent31ad93a62e93cf12fbe7dcc885e077026d7655f4 (diff)
downloadroundcubemail-plugins-kolab-ef017d4eb059907ce7581f5e1b7842271eeb8efd.tar.gz
Also request RSVP when creating a new event with sequence=0
Diffstat (limited to 'plugins/calendar')
-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 d247dd8..92f8340 100644
--- a/plugins/calendar/calendar.php
+++ b/plugins/calendar/calendar.php
@@ -2009,7 +2009,7 @@ class calendar extends rcube_plugin
// compose multipart message using PEAR:Mail_Mime
$method = $action == 'remove' ? 'CANCEL' : 'REQUEST';
- $message = $itip->compose_itip_message($event, $method, $event['sequence'] > $old['sequence']);
+ $message = $itip->compose_itip_message($event, $method, !$old || $event['sequence'] > $old['sequence']);
// list existing attendees from $old event
$old_attendees = array();