mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-74713' of https://github.com/paulholden/moodle
This commit is contained in:
commit
79b54a59a4
3 changed files with 17 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue