mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
Merge branch 'MDL-60444-master' of git://github.com/andrewnicols/moodle
This commit is contained in:
commit
f2732541e8
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user