Merge branch 'wip-MDL-41967-master' of git://github.com/abgreeve/moodle
authorDamyon Wiese <damyon@moodle.com>
Wed, 9 Oct 2013 04:46:14 +0000 (12:46 +0800)
committerDamyon Wiese <damyon@moodle.com>
Wed, 9 Oct 2013 04:46:14 +0000 (12:46 +0800)
grade/lib.php

index 7639e08..d3f13ac 100644 (file)
@@ -191,7 +191,7 @@ class graded_users_iterator {
                             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++;
                 }