MDL-60444 calendar: Correct variable name

This commit is contained in:
Andrew Nicols
2017-10-16 10:19:14 +08:00
parent 9a316f3367
commit 4e84059e8f
+1 -1
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);
}
/**