summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/calendar/calendar_ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/calendar/calendar_ui.js b/plugins/calendar/calendar_ui.js
index a2aac7c..8c14afb 100644
--- a/plugins/calendar/calendar_ui.js
+++ b/plugins/calendar/calendar_ui.js
@@ -685,7 +685,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;
}