Skip to content

Commit

Permalink
MDL-14679 fixed regression
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jun 1, 2008
1 parent e222eb8 commit 5849cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/profile/lib.php
Expand Up @@ -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;
Expand Down

0 comments on commit 5849cfe

Please sign in to comment.