Details
-
Type:
Sub-task
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9.2
-
Fix Version/s: None
-
Component/s: Course, Enrolments
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
Description
in lib/accesslib.php, function enrol_into_course, line 2990:
add_to_log($course->id, 'course', 'enrol',
'view.php?id='.$course->id, $course->id);
should be:
add_to_log($course->id, 'course', 'enrol',
'view.php?id='.$course->id, $course->id, 0, $user->id);
(or should the cm->id be NULL, not 0?)
to enter consistent entries in mdl_log with other methods of enrolling which record the user id.
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions