MDL-21845 multilang filter applied to custom field labels in user profile
This commit is contained in:
@@ -415,7 +415,7 @@ function profile_display_fields($userid) {
|
||||
$newfield = 'profile_field_'.$field->datatype;
|
||||
$formfield = new $newfield($field->id, $userid);
|
||||
if ($formfield->is_visible() and !$formfield->is_empty()) {
|
||||
print_row(s($formfield->field->name.':'), $formfield->display_data());
|
||||
print_row(format_string($formfield->field->name.':'), $formfield->display_data());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user