Skip to content
Snippets Groups Projects
Commit 0f67f48d authored by Moritz Strohm's avatar Moritz Strohm
Browse files

fixed typo, fixes #3794

parent 179cd142
No related branches found
No related tags found
No related merge requests found
......@@ -254,7 +254,7 @@ class CalendarDate extends SimpleORMap implements PrivacyObject
['calendar_date_id' => $this->id]
);
foreach ($course_assignments as $course_assignment) {
if ($course_assignment->course->calendarWritable($range_id)) {
if ($course_assignment->course->isCalendarWritable($range_id)) {
return true;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment