Skip to content

Commit

Permalink
(fix) sage-guard against empty rrule
Browse files Browse the repository at this point in the history
  • Loading branch information
extrafu authored and cgx committed Jan 7, 2017
1 parent 9c1f36d commit b9b8983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ActiveSync/iCalEvent+ActiveSync.m
Expand Up @@ -609,7 +609,7 @@ - (void) takeActiveSyncValues: (NSDictionary *) theValues
}

// Recurrence
if ((o = [theValues objectForKey: @"Recurrence"]))
if ((o = [theValues objectForKey: @"Recurrence"]) && [o isKindOfClass: [NSDictionary class]])
{
iCalRecurrenceRule *rule;

Expand Down

0 comments on commit b9b8983

Please sign in to comment.