MDL-51999 user: remove unnecessary continue

This commit is contained in:
Marina Glancy 2015-11-02 10:53:43 +08:00
parent 821ab27c19
commit bb0ac1fdc2

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