Merge branch 'MDL-60444-master' of git://github.com/andrewnicols/moodle

This commit is contained in:
David Monllao 2017-10-19 15:41:56 +02:00
commit f2732541e8

View File

@ -2437,7 +2437,7 @@ function calendar_user_can_add_event($course) {
calendar_get_allowed_types($allowed, $course);
return (bool)($allowed->user || $allowed->groups || $allowed->courses || $allowed->category || $allowed->site);
return (bool)($allowed->user || $allowed->groups || $allowed->courses || $allowed->categories || $allowed->site);
}
/**