Permalink
Browse files

MDL-41967 - Gradebook: Fixed an sql syntax error for gradebook custom…

… profile fields.
  • Loading branch information...
1 parent c777836 commit 2bb1ee93dfd4f6ffa9e56e7c060c18c1d40a9d88 @abgreeve abgreeve committed Oct 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 grade/lib.php
View
2 grade/lib.php
@@ -192,7 +192,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++;
}

0 comments on commit 2bb1ee9

Please sign in to comment.