diff --git a/SOPE/NGCards/ChangeLog b/SOPE/NGCards/ChangeLog index 8ba8a3f91..97549f4ab 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-22 Wolfgang Sourdeau * iCalEvent.m (-firstRecurrenceStartDate): new method that makes diff --git a/SOPE/NGCards/iCalRepeatableEntityObject.m b/SOPE/NGCards/iCalRepeatableEntityObject.m index fab9c379f..2e0ed93b4 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