From: moodler Date: Sun, 17 Aug 2003 01:49:15 +0000 (+0000) Subject: Make sure it's THIS course that the student is currently enrolled in X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=64cbb55c2ece1ddb9cbe8c46e40fa67927ef3172;p=moodle.git Make sure it's THIS course that the student is currently enrolled in --- diff --git a/lib/datalib.php b/lib/datalib.php index 2033dab1f1..89c971aa83 100644 --- a/lib/datalib.php +++ b/lib/datalib.php @@ -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"); }