Merge branch 'wip-MDL-51999-master' of https://github.com/marinaglancy/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2015-11-02 19:59:01 +01:00
-3
View File
@@ -3142,9 +3142,6 @@ abstract class grade_helper {
JOIN {user_info_category} c ON f.categoryid=c.id
WHERE f.shortname $wherefields
ORDER BY c.sortorder ASC, f.sortorder ASC", $whereparams);
if (!is_array($customfields)) {
continue;
}
foreach ($customfields as $field) {
// Make sure we can display this custom field