MDL-21845 multilang filter applied to custom field labels in user profile

Merged from 1.9 and 1.8
This commit is contained in:
David Mudrak
2010-07-28 09:42:05 +00:00
parent 31d085e2a3
commit dc45a43a87
+1 -1
View File
@@ -424,7 +424,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());
}
}
}