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

This commit is contained in:
David Mudrak
2010-07-28 09:41:54 +00:00
parent 0af9124a00
commit 51b2bf5ab1
+1 -1
View File
@@ -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());
}
}
}