Permalink
Browse files

Merge branch 'MDL-31804_ambiguous_sql_22' of git://github.com/andyjda…

…vis/moodle into MOODLE_22_STABLE
  • Loading branch information...
2 parents 97bb109 + d5e59d8 commit 7e647445dd08bc4f08a1c18cc436d7bc9027cf95 @danpoltawski danpoltawski committed May 14, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 grade/report/grader/lib.php
View
3 grade/report/grader/lib.php
@@ -339,8 +339,7 @@ public function load_users() {
list($enrolledsql, $enrolledparams) = get_enrolled_sql($this->context);
//fields we need from the user table
- $userfields = user_picture::fields('u');
- $userfields .= get_extra_user_fields_sql($this->context);
+ $userfields = user_picture::fields('u', get_extra_user_fields($this->context));
$sortjoin = $sort = $params = null;

0 comments on commit 7e64744

Please sign in to comment.