mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Correct calls to require_course_login
This commit is contained in:
parent
1596edff55
commit
535136bde7
@ -16,7 +16,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
require_course_login($course->id);
|
||||
require_course_login($course);
|
||||
|
||||
$currentgroup = get_current_group($course->id);
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
error("Course ID is incorrect");
|
||||
}
|
||||
|
||||
require_course_login($course->id);
|
||||
require_course_login($course);
|
||||
|
||||
add_to_log($course->id, "scorm", "view all", "index.php?id=$course->id", "");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user