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()); } } }