From 5849cfe28d615de9808ab1cb13426893b9447158 Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 1 Jun 2008 10:20:23 +0000 Subject: [PATCH] MDL-14679 fixed regression --- user/profile/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/profile/lib.php b/user/profile/lib.php index cfdf6a4fdc..4bc3471769 100644 --- a/user/profile/lib.php +++ b/user/profile/lib.php @@ -351,7 +351,7 @@ function profile_validation($usernew, $files) { function profile_save_data($usernew) { global $CFG, $DB; - if ($fields = $DB->get_records_select('user_info_field')) { + if ($fields = $DB->get_records('user_info_field')) { foreach ($fields as $field) { require_once($CFG->dirroot.'/user/profile/field/'.$field->datatype.'/field.class.php'); $newfield = 'profile_field_'.$field->datatype; -- 2.39.5