]> err.no Git - scalable-opengroupware.org/commitdiff
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1336 d1b88da0-ebda-0310...
authorwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Wed, 23 Jan 2008 03:45:12 +0000 (03:45 +0000)
committerwolfgang <wolfgang@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Wed, 23 Jan 2008 03:45:12 +0000 (03:45 +0000)
SOPE/NGCards/ChangeLog
SOPE/NGCards/iCalRecurrenceRule.m

index 15921e0c0b0a92c3a108557c201253024b512580..fbac587b89efbdd11fcd37618d2c1fddac009f3a 100644 (file)
@@ -1,3 +1,8 @@
+2008-01-22  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
+
+       * iCalRecurrenceRule.m ([iCalRecurrenceRule -repeatInterval]):
+       return 1 if the parsed value is < 1.
+
 2007-12-20  Wolfgang Sourdeau  <wsourdeau@inverse.ca>
 
        * NSString+NGCards.m ([NSString
index ea981406f0e8f28b5b5741862806d2d063a2080e..bc4efc4cffe66e625d912145dfe2f693c3746472 100644 (file)
 
 - (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