aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/gui/itip-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index b571459d7d..688c1c0f5a 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -814,7 +814,7 @@ itip_send_comp (CalComponentItipMethod method, CalComponent *send_comp,
/* Recipients */
to_list = comp_to_list (method, comp, users);
- if (to_list == NULL)
+ if (to_list == NULL || to_list->_length == 0)
goto cleanup;
cc_list = GNOME_Evolution_Composer_RecipientList__alloc ();