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 committed Dec 19, 2016
1 parent e436816 commit 9d8778b
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 9d8778b

Please sign in to comment.