diff --git a/ChangeLog b/ChangeLog index 5d54c092d..5e85fa1fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ update the right event in the database in order to update major properties coming from external invitations during updates. + * SoObjects/Appointments/SOGoAppointmentObject.m (-PUTAction:) + We check if uid is not nil prior comparing it to the + owner. This fixes bug #1323 2011-07-02 Ludovic Marcotte diff --git a/SoObjects/Appointments/SOGoAppointmentObject.m b/SoObjects/Appointments/SOGoAppointmentObject.m index d4e5f3ca8..932f952e0 100644 --- a/SoObjects/Appointments/SOGoAppointmentObject.m +++ b/SoObjects/Appointments/SOGoAppointmentObject.m @@ -1809,7 +1809,7 @@ else uid = [[[[[newEvent parent] events] objectAtIndex: 0] organizer] uid]; - if ([uid caseInsensitiveCompare: owner] == NSOrderedSame) + if (uid && [uid caseInsensitiveCompare: owner] == NSOrderedSame) { if ((ex = [self _handleUpdatedEvent: newEvent fromOldEvent: oldEvent])) return ex;