From: wolfgang Date: Wed, 23 Jan 2008 03:45:12 +0000 (+0000) Subject: git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1336 d1b88da0-ebda-0310... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f89be188c8b9b3a50835af124b2ab96e7086e1f;p=scalable-opengroupware.org git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1336 d1b88da0-ebda-0310-925b-ed51d893ca5b --- diff --git a/SOPE/NGCards/ChangeLog b/SOPE/NGCards/ChangeLog index 15921e0c..fbac587b 100644 --- a/SOPE/NGCards/ChangeLog +++ b/SOPE/NGCards/ChangeLog @@ -1,3 +1,8 @@ +2008-01-22 Wolfgang Sourdeau + + * iCalRecurrenceRule.m ([iCalRecurrenceRule -repeatInterval]): + return 1 if the parsed value is < 1. + 2007-12-20 Wolfgang Sourdeau * NSString+NGCards.m ([NSString diff --git a/SOPE/NGCards/iCalRecurrenceRule.m b/SOPE/NGCards/iCalRecurrenceRule.m index ea981406..bc4efc4c 100644 --- a/SOPE/NGCards/iCalRecurrenceRule.m +++ b/SOPE/NGCards/iCalRecurrenceRule.m @@ -237,7 +237,13 @@ - (int) repeatInterval { - return [[self namedValue: @"interval"] intValue]; + int interval; + + interval = [[self namedValue: @"interval"] intValue]; + if (interval < 1) + interval = 1; + + return interval; } - (void) setWkst: (NSString *) _weekStart