diff --git a/ChangeLog b/ChangeLog index cbcc580aa..2327943cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-08-05 Wolfgang Sourdeau + + * UI/Contacts/UIxContactEditor.m ([UIxContactEditor -isNew]): + invoke "isNew" to the client object only if it is an instance of + SOGoContentObject... + 2008-08-04 Wolfgang Sourdeau * SoObjects/Appointments/SOGoCalendarComponent.m diff --git a/UI/Contacts/UIxContactEditor.m b/UI/Contacts/UIxContactEditor.m index 4ea1b1053..1b5989c22 100644 --- a/UI/Contacts/UIxContactEditor.m +++ b/UI/Contacts/UIxContactEditor.m @@ -159,7 +159,12 @@ - (BOOL) isNew { - return [[self clientObject] isNew]; + id co; + + co = [self clientObject]; + + return ([co isKindOfClass: [SOGoContentObject class]] + && [co isNew]); } - (NSArray *) addressBooksList