From 8c5edcf0e9b43f542a0769f7d872ce761b7fa77e Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Fri, 21 Dec 2012 17:19:16 +0100 Subject: [PATCH] Make sure invitations/updates are always sent if required (#1408) --- plugins/calendar/calendar_ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/calendar/calendar_ui.js b/plugins/calendar/calendar_ui.js index 1a5a38ba..24d7bd67 100644 --- a/plugins/calendar/calendar_ui.js +++ b/plugins/calendar/calendar_ui.js @@ -621,7 +621,7 @@ function rcube_calendar_ui(settings) data.attendees = []; // tell server to send notifications - if (data.attendees.length && organizer && ((event.id && notify.checked) || (!event.id && invite.checked))) { + if ((data.attendees.length || (event.id && event.attendees.length)) && organizer && (notify.checked || invite.checked)) { data._notify = 1; }