(fix) more attendee checks

pull/203/head
Ludovic Marcotte 2016-03-09 10:06:18 -05:00
parent ef00885941
commit 4026c4e2d9
1 changed files with 7 additions and 3 deletions

View File

@ -688,10 +688,14 @@
info = [NSMutableDictionary dictionary];
conflicts = [NSMutableArray array];
if ([currentAttendee cn])
[info setObject: [currentAttendee cn] forKey: @"attendee_name"];
if (currentAttendee)
{
if ([currentAttendee cn])
[info setObject: [currentAttendee cn] forKey: @"attendee_name"];
[info setObject: [currentAttendee rfc822Email] forKey: @"attendee_email"];
if ([currentAttendee rfc822Email])
[info setObject: [currentAttendee rfc822Email] forKey: @"attendee_email"];
}
for (i = 0; i < [fbInfo count]; i++)
{