|
|
|
user_bulk_download.php
Instaed of $v->name it should be $v-shortname
if ($extrafields = get_records_select('user_info_field')) {
foreach ($extrafields as $n=>$v){
$fields['profile_field_'.$v->shortname] = 'profile_field_'.$v->name;
}
}
It should be
if ($extrafields = get_records_select('user_info_field')) {
foreach ($extrafields as $n=>$v){
$fields['profile_field_'.$v->shortname] = 'profile_field_'.$v->shortname;
}
}
Error and solution found by Lars Kobbe
|
|
Description
|
user_bulk_download.php
Instaed of $v->name it should be $v-shortname
if ($extrafields = get_records_select('user_info_field')) {
foreach ($extrafields as $n=>$v){
$fields['profile_field_'.$v->shortname] = 'profile_field_'.$v->name;
}
}
It should be
if ($extrafields = get_records_select('user_info_field')) {
foreach ($extrafields as $n=>$v){
$fields['profile_field_'.$v->shortname] = 'profile_field_'.$v->shortname;
}
}
Error and solution found by Lars Kobbe |
Show » |
committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 22/Oct/08 09:32 AM
MDL-16929: fix bulk user download function. (the shortname column title is now profile_field_"shortname")
|
|
|
committed 1 file to 'Moodle CVS' - 22/Oct/08 09:33 AM
MDL-16929: fix bulk user download function. (the shortname column title is now profile_field_"shortname"), merged from 19
|
|
|
|