mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-15080 char to int cast problem in get_recent_enrolments()
This commit is contained in:
parent
dfdaabd6a8
commit
9f43d70d24
@ -194,7 +194,7 @@ function get_recent_enrolments($courseid, $timestart) {
|
||||
AND l.course = ?
|
||||
AND l.module = 'course'
|
||||
AND l.action = 'enrol'
|
||||
AND l.info = u.id
|
||||
AND ".$DB->sql_cast_char2int('l.info')." = u.id
|
||||
AND u.id = ra.userid
|
||||
AND ra.contextid ".get_related_contexts_string($context)."
|
||||
ORDER BY l.time ASC";
|
||||
|
Loading…
x
Reference in New Issue
Block a user