Make sure it's THIS course that the student is currently enrolled in

This commit is contained in:
moodler
2003-08-17 01:49:15 +00:00
parent 6c38b7e012
commit 64cbb55c2e
+1
View File
@@ -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");
}