(fix) sage-guard against empty rrule

This commit is contained in:
Ludovic Marcotte
2016-12-19 15:01:31 -05:00
committed by Francis Lachapelle
parent 9c1f36d615
commit b9b8983343

View File

@@ -609,7 +609,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;