From dc45a43a870ce2e9833fa6ea250797c2650de31f Mon Sep 17 00:00:00 2001 From: David Mudrak Date: Wed, 28 Jul 2010 09:42:05 +0000 Subject: [PATCH] MDL-21845 multilang filter applied to custom field labels in user profile Merged from 1.9 and 1.8 --- user/profile/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/profile/lib.php b/user/profile/lib.php index ca432597aca..417830921e8 100644 --- a/user/profile/lib.php +++ b/user/profile/lib.php @@ -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()); } } }