* Calendar - fix occasional infinite loop in yearly planner

Something about the events present (or not present) triggered it
This commit is contained in:
nathangray 2018-03-26 09:45:13 -06:00
parent 0930b52934
commit efdc25bb37

View File

@ -585,7 +585,7 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e
var end_key = end.getFullYear() +'-'+end.getMonth();
var year = start.getFullYear();
var month = start.getMonth();
while(key !== end_key)
while(key <= end_key)
{
if (++month > 11)
{