This commit is contained in:
Jun Pataleta 2022-06-23 09:51:50 +08:00
commit 79b54a59a4
3 changed files with 17 additions and 2 deletions

View file

@ -240,7 +240,8 @@ if ($hassiteconfig
if ($field->param2 > 255 || $field->datatype != 'text') {
continue;
}
$fields['profile_field_' . $field->shortname] = $field->name . ' *';
$fields['profile_field_' . $field->shortname] = format_string($field->name, true,
['context' => context_system::instance()]) . ' *';
}
return $fields;