MDL-21845 user profile: Fixed missing multilang support

Merged from 1.9
This commit is contained in:
David Mudrak 2010-04-02 09:45:36 +00:00
parent 6682cf1813
commit 2ecf267ccb

View File

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