From 93629c7751021060c628da76dfb443aeec13e579 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 18 Jun 2018 09:50:24 -0400 Subject: [PATCH] Fix delete of occurence in attendees calendars --- SoObjects/Appointments/SOGoAppointmentObject.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/Appointments/SOGoAppointmentObject.m b/SoObjects/Appointments/SOGoAppointmentObject.m index 9771242b2..67bdb45c2 100644 --- a/SoObjects/Appointments/SOGoAppointmentObject.m +++ b/SoObjects/Appointments/SOGoAppointmentObject.m @@ -310,7 +310,7 @@ { currentOccurence = [occurences objectAtIndex: count]; currentId = [currentOccurence recurrenceId]; - if ([currentId compare: recurrenceId] == NSOrderedSame) + if (currentId && [currentId compare: recurrenceId] == NSOrderedSame) { [[calendar children] removeObject: currentOccurence]; break;