diff --git a/course/lib.php b/course/lib.php index 2fc4b681c2f..5d396e27d8c 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1252,6 +1252,7 @@ function get_module_types_names($plural = false) { function course_set_marker($courseid, $marker) { global $DB; $DB->set_field("course", "marker", $marker, array('id' => $courseid)); + format_base::reset_course_cache($courseid); } /**