MDL-7857 uninitialized context in mod/data/index.php; backported from HEAD
This commit is contained in:
@@ -33,6 +33,8 @@
|
||||
|
||||
require_course_login($course);
|
||||
|
||||
$context = get_context_instance(CONTEXT_COURSE, $course->id);
|
||||
|
||||
add_to_log($course->id, "data", "view all", "index.php?id=$course->id", "");
|
||||
|
||||
$strweek = get_string('week');
|
||||
|
||||
Reference in New Issue
Block a user