Merge branch 'wip-MDL-41967-master' of git://github.com/abgreeve/moodle

This commit is contained in:
Damyon Wiese 2013-10-09 12:46:14 +08:00
commit 6412c972e3

View 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++;
}