Skip to content
Permalink
Browse files

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

  • Loading branch information
David Monllao committed Oct 19, 2017
2 parents 43b8618 + 4e84059 commit f2732541e8bba24f3119d8858d382a34d75fbee1
Showing with 1 addition and 1 deletion.
  1. +1 −1 calendar/lib.php
@@ -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);
}

/**

0 comments on commit f273254

Please sign in to comment.