Fixing the Loop in Recurring events

This commit is contained in:
Bogomil Shopov 2011-06-13 10:13:49 +03:00
parent 6d7e073301
commit c8ed36a55c

View file

@ -118,7 +118,7 @@ class kolab_calendar
$rec_event['end'] = $rec_end; $rec_event['end'] = $rec_end;
$events[] = $rec_event; $events[] = $rec_event;
} }
else if ($start_ts > $end) // stop loop if out of range else if ($rec_start > $end) // stop loop if out of range
break; break;
} }
} }