MDL-16929: fix bulk user download function. (the shortname column title is now profile_field_"shortname"), merged from 19
This commit is contained in:
@@ -39,7 +39,7 @@ if ($format) {
|
||||
|
||||
if ($extrafields = $DB->get_records_select('user_info_field')) {
|
||||
foreach ($extrafields as $n=>$v){
|
||||
$fields['profile_field_'.$v->shortname] = 'profile_field_'.$v->name;
|
||||
$fields['profile_field_'.$v->shortname] = 'profile_field_'.$v->shortname;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user