Permalink
Browse files

Merge branch 'w04_MDL-31186_m21_extprofiles' of git://github.com/skod…

…ak/moodle into MOODLE_21_STABLE
  • Loading branch information...
2 parents d23fd32 + 4d690a2 commit a16df720b135f438efa045bf6982aba411f1788c Sam Hemelryk committed Jan 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 user/externallib.php
View
@@ -505,7 +505,7 @@ public static function get_course_participants_by_id($userlist) {
$courses = array();
list($cselect, $cjoin) = context_instance_preload_sql('c.id', CONTEXT_COURSE, 'ctx');
list($sqlcourseids, $params) = $DB->get_in_or_equal(array_unique($courseids));
- $coursesql = "SELECT c.* $uselect
+ $coursesql = "SELECT c.* $cselect
FROM {course} c $cjoin
WHERE c.id $sqlcourseids";
$rs = $DB->get_recordset_sql($coursesql, $params);

0 comments on commit a16df72

Please sign in to comment.