mirror of
https://github.com/moodle/moodle.git
synced 2025-03-19 15:10:05 +01:00
When calling the calendar_get_allowed_event_types function with no course id, it is supposed to return true if you have the relevant permissions in any course. For users who have the managegroupentries permission, this was not the case - even though it works correctly if you call the function with a supplied course id. This change makes behaviour with and without a supplied course id consistent.