Ignore rrule errors

This commit is contained in:
Tom Wardill
2018-11-07 18:44:32 +00:00
parent cec1f12918
commit 78daa65d28
2 changed files with 8 additions and 2 deletions

View File

@@ -171,7 +171,7 @@ var CalendarFetcher = function(url, reloadInterval, excludedEvents, maximumEntri
var geo = event.geo || false;
var description = event.description || false;
if (typeof event.rrule != "undefined" && !isFacebookBirthday) {
if (typeof event.rrule != "undefined" && event.rrule != null && !isFacebookBirthday) {
var rule = event.rrule;
// can cause problems with e.g. birthdays before 1900