Permalink
Browse files

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

…ak/moodle into MOODLE_22_STABLE
  • Loading branch information...
2 parents 5125c0e + 06f7eb2 commit d5d5ae432cd1f339c5a580ee3331aa100c7a152f Sam Hemelryk committed Jan 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 user/externallib.php
View
@@ -518,7 +518,7 @@ public static function get_course_user_profiles($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 d5d5ae4

Please sign in to comment.