Make sure it's THIS course that the student is currently enrolled in
This commit is contained in:
@@ -908,6 +908,7 @@ function get_recent_enrolments($courseid, $timestart) {
|
||||
AND l.action = 'enrol'
|
||||
AND l.info = u.id
|
||||
AND u.id = s.userid
|
||||
AND s.course = '$courseid'
|
||||
GROUP BY l.info
|
||||
ORDER BY l.time ASC");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user