(fix) sage-guard against empty rrule

pull/14/merge
Ludovic Marcotte 2016-12-19 15:01:31 -05:00
parent 1375237697
commit abd0c0a744
1 changed files with 1 additions and 1 deletions

View File

@ -602,7 +602,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
}
// Recurrence
if ((o = [theValues objectForKey: @"Recurrence"]))
if ((o = [theValues objectForKey: @"Recurrence"]) && [o isKindOfClass: [NSDictionary class]])
{
iCalRecurrenceRule *rule;