Permalink
Browse files

MDL-31804 duplicated columns cause Oracle error in grader report

  • Loading branch information...
jonof authored and andyjdavis committed Feb 28, 2012
1 parent 8075bd8 commit d5e59d895087f0168a93bfb04b434534997cb596
Showing with 1 addition and 2 deletions.
  1. +1 −2 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 d5e59d8

Please sign in to comment.