Minor improvement over previous commit

This commit is contained in:
Ludovic Marcotte
2016-08-09 16:22:09 -04:00
parent 8c217103f8
commit 9199d42e51

View File

@@ -2127,7 +2127,7 @@ inRecurrenceExceptionsForEvent: (iCalEvent *) theEvent
uid = [[oldEvent organizer] uidInContext: context];
if ([[[context activeUser] login] caseInsensitiveCompare: uid] != NSOrderedSame)
if (uid && [[[context activeUser] login] caseInsensitiveCompare: uid] != NSOrderedSame)
{
SOGoAppointmentObject *organizerObject;