Skip to content

Commit

Permalink
Merge branch 'MDL-31804_ambiguous_sql' of git://github.com/andyjdavis…
Browse files Browse the repository at this point in the history
…/moodle
  • Loading branch information
danpoltawski committed May 14, 2012
2 parents a225149 + ef8c793 commit 1af542e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions grade/report/grader/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,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;

Expand Down

0 comments on commit 1af542e

Please sign in to comment.