Skip to content

Commit

Permalink
MDL-15080 char to int cast problem in get_recent_enrolments(); backpo…
Browse files Browse the repository at this point in the history
…rted from HEAD
  • Loading branch information
skodak committed Jun 1, 2008
1 parent 669f7e7 commit 5e61503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/deprecatedlib.php
Expand Up @@ -549,7 +549,7 @@ function get_recent_enrolments($courseid, $timestart) {
AND l.course = '$courseid'
AND l.module = 'course'
AND l.action = 'enrol'
AND l.info = u.id
AND ".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");
Expand Down

0 comments on commit 5e61503

Please sign in to comment.