yohang/CalendR

Basic event provider causes an error if empty and getEvents() called

bonndan opened this issue · 1 comments

PROBLEM

foreach tries to iterate over null.

FIX:

protected $events could be initialised as array()

Thanks for the report. Fixed.