Skip to content

Commit

Permalink
MDL-41967 - Gradebook: Fixed an sql syntax error for gradebook custom…
Browse files Browse the repository at this point in the history
… profile fields.
  • Loading branch information
abgreeve committed Oct 1, 2013
1 parent d45e65c commit c1735ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public function init() {
LEFT JOIN (SELECT * FROM {user_info_data}
WHERE fieldid = :cf$customfieldscount) cf$customfieldscount
ON u.id = cf$customfieldscount.userid";
$userfields .= ", cf$customfieldscount.data AS 'customfield_{$field->shortname}'";
$userfields .= ", cf$customfieldscount.data AS customfield_{$field->shortname}";
$params['cf'.$customfieldscount] = $field->customid;
$customfieldscount++;
}
Expand Down

0 comments on commit c1735ba

Please sign in to comment.