(fix) make sure the attendee name is defined before using it

This commit is contained in:
Ludovic Marcotte committed 2016-03-08 10:41:49 -05:00
1 parent 81daade9ec
commit bd81a56e58
1 file changed
+3 -1
@@ -688,7 +688,9 @@
info = [NSMutableDictionary dictionary];
conflicts = [NSMutableArray array];
[info setObject: [currentAttendee cn] forKey: @"attendee_name"];
if ([currentAttendee cn])
[info setObject: [currentAttendee cn] forKey: @"attendee_name"];
[info setObject: [currentAttendee rfc822Email] forKey: @"attendee_email"];
for (i = 0; i < [fbInfo count]; i++)