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 57a5947..1efc160 100644
--- a/plugins/calendar/calendar_ui.js
+++ b/plugins/calendar/calendar_ui.js
@@ -604,7 +604,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;
}