mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-20 06:36:52 +00:00
(fix) avoid exceptions for RRULE with no DTSTART
This commit is contained in:
1 parent
3065783c2c
commit
e4ad088f0d
5 files changed
+20
-1
No files matched your search
@@ -79,6 +79,10 @@
|
||||
repeatCount = 0;
|
||||
hasRepeatCount = [rrule hasRepeatCount];
|
||||
|
||||
if (!firstRange)
|
||||
// Can happen when event/todo has a rrule with no dtstart
|
||||
return nil;
|
||||
|
||||
if ([endDate compare: firStart] == NSOrderedAscending)
|
||||
// Range ends before first occurrence
|
||||
return nil;
|
||||
|
||||
Reference in new issue
Block a user