From 2ecf267ccb686b7dd424ff51f4ad4471b9ee9b47 Mon Sep 17 00:00:00 2001 From: David Mudrak Date: Fri, 2 Apr 2010 09:45:36 +0000 Subject: [PATCH] MDL-21845 user profile: Fixed missing multilang support Merged from 1.9 --- user/profile/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/profile/index.php b/user/profile/index.php index 32daa1ce16d..3b04985abc1 100644 --- a/user/profile/index.php +++ b/user/profile/index.php @@ -125,7 +125,7 @@ foreach ($categories as $category) { if ($fields = $DB->get_records('user_info_field', array('categoryid'=>$category->id), 'sortorder ASC')) { foreach ($fields as $field) { - $table->data[] = array($field->name, profile_field_icons($field)); + $table->data[] = array(format_string($field->name), profile_field_icons($field)); } }