Add idnumber to list of course students

This commit is contained in:
moodler 2004-03-21 03:30:27 +00:00
parent c8d63a00e4
commit 20439c700b

View File

@ -1165,7 +1165,7 @@ function get_course_students($courseid, $sort="s.timeaccess", $dir="", $page=0,
}
return get_records_sql("SELECT u.id, u.confirmed, u.username, u.firstname, u.lastname, u.maildisplay, u.mailformat,
u.email, u.city, u.country, u.picture, u.department, u.institution,
u.email, u.city, u.country, u.picture, u.idnumber, u.department, u.institution,
u.emailstop, u.lang, u.timezone, s.timeaccess as lastaccess
FROM {$CFG->prefix}user u,
{$CFG->prefix}user_students s