(fix) sage-guard against empty rrule

This commit is contained in:
Ludovic Marcotte
2016-12-19 15:01:31 -05:00
parent 1375237697
commit abd0c0a744
+1 -1
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;