Skip to content
  • Neill Magill's avatar
    MDL-51495 calendar: E_WARNING in core_calendar_get_calendar_events · 8102ded9
    Neill Magill authored
    If a user does not have the 'moodle/calendar:manageentries' capability then an E_WARNING
    can be generated by the core_calendar_external::get_calendar_events() method, that an
    expected array is null
    This patch creates an array that is missing when a user does not have the capability.