Permalink
Browse files

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

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

0 comments on commit 51b2bf5

Please sign in to comment.