From bb0ac1fdc230ef4ad4b4aff40f3edf812db054fd Mon Sep 17 00:00:00 2001 From: Marina Glancy Date: Mon, 2 Nov 2015 10:53:43 +0800 Subject: [PATCH] MDL-51999 user: remove unnecessary continue --- grade/lib.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/grade/lib.php b/grade/lib.php index 1c881964815..3a048295bd4 100644 --- a/grade/lib.php +++ b/grade/lib.php @@ -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