diff --git a/SOPE/NGCards/ChangeLog b/SOPE/NGCards/ChangeLog index 86dab1f70..92f6299ac 100644 --- a/SOPE/NGCards/ChangeLog +++ b/SOPE/NGCards/ChangeLog @@ -1,3 +1,9 @@ +2011-03-23 Francis Lachapelle + + * iCalRepeatableEntityObject.m (-removeAllExceptionDates): don't + use the method "exceptionDates" since it returns an array of + strings and not CardElement instances. + 2011-03-20 Wolfgang Sourdeau * CardGroup.m (-removeChild:, -removeChildren:): new diff --git a/SOPE/NGCards/iCalRepeatableEntityObject.m b/SOPE/NGCards/iCalRepeatableEntityObject.m index 35fd63394..c264d9791 100644 --- a/SOPE/NGCards/iCalRepeatableEntityObject.m +++ b/SOPE/NGCards/iCalRepeatableEntityObject.m @@ -106,7 +106,7 @@ - (void) removeAllExceptionDates { - [self removeChildren: [self exceptionDates]]; + [self removeChildren: [self childrenWithTag: @"exdate"]]; } - (void) addToExceptionDates: (NSCalendarDate *) _rdate