Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-31060: removed unnecessary fields from query which also caused pr…

…oblems in MSSQL
  • Loading branch information...
commit 96ef951d5f8dcbb2cac4fc59c414a88527d8f884 1 parent 60e9909
@marinaglancy marinaglancy authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  grade/grading/pick.php
View
3  grade/grading/pick.php
@@ -144,8 +144,7 @@
}
// construct the SQL to find all matching templates
-$sql = "SELECT DISTINCT gd.id, gd.areaid, gd.name, gd.description, gd.descriptionformat, gd.timecreated,
- gd.usercreated, gd.timemodified, gd.usermodified
+$sql = "SELECT DISTINCT gd.id, gd.areaid, gd.name, gd.usercreated
FROM {grading_definitions} gd
JOIN {grading_areas} ga ON (gd.areaid = ga.id)
JOIN {context} cx ON (ga.contextid = cx.id)";
Please sign in to comment.
Something went wrong with that request. Please try again.