Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-34192 mod_assign: prevent ambiguous column use for Oracle.

Credit goes to Raymond Antonio from NetSpot.
commit d8e6e58ec5c4751a9f4c43b6c65fa565966c4a98 1 parent bac15e5
@stronk7 stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/assign/gradingtable.php
View
2  mod/assign/gradingtable.php
@@ -88,7 +88,7 @@ function __construct(assign $assignment, $perpage, $filter, $rowoffset, $quickgr
$params['assignmentid1'] = (int)$this->assignment->get_instance()->id;
$params['assignmentid2'] = (int)$this->assignment->get_instance()->id;
- $fields = user_picture::fields('u') . ', u.id as userid, u.firstname as firstname, u.lastname as lastname, ';
+ $fields = user_picture::fields('u') . ', u.id as userid, ';
$fields .= 's.status as status, s.id as submissionid, s.timecreated as firstsubmission, s.timemodified as timesubmitted, ';
$fields .= 'g.id as gradeid, g.grade as grade, g.timemodified as timemarked, g.timecreated as firstmarked, g.mailed as mailed, g.locked as locked';
$from = '{user} u LEFT JOIN {assign_submission} s ON u.id = s.userid AND s.assignment = :assignmentid1' .
Please sign in to comment.
Something went wrong with that request. Please try again.