Browse files

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

…file
  • Loading branch information...
1 parent 90a6ca7 commit c4ee2a12dad921407ca59c1c85f7d9fb723a987e mudrd8mz committed Jul 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 user/profile/lib.php
View
2 user/profile/lib.php
@@ -360,7 +360,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());
}
}
}

0 comments on commit c4ee2a1

Please sign in to comment.