diff --git a/calendar/providers/storage/calStorageCalendar.js b/calendar/providers/storage/calStorageCalendar.js index 04aa2f540e4..703a85f9312 100644 --- a/calendar/providers/storage/calStorageCalendar.js +++ b/calendar/providers/storage/calStorageCalendar.js @@ -691,8 +691,10 @@ calStorageCalendar.prototype = { while (this.mSelectEventsWithRecurrence.step()) { var row = this.mSelectEventsWithRecurrence.row; // did we already deal with this event id? - if (handledRecurringEvents[row.id] == true) + if (row.id in handledRecurringEvents && + handledRecurringEvents[row.id] == true) { continue; + } var flags = {}; var item = this.getEventFromRow(row, flags);