Skip to content

Commit

Permalink
Merge branch 'MDL-60444-master' of git://github.com/andrewnicols/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed Oct 19, 2017
2 parents 43b8618 + 4e84059 commit f273254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calendar/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit f273254

Please sign in to comment.