mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-74713 admin: format custom profile fields in identify config.
This commit is contained in:
parent
ca583bddaf
commit
e0b0908ba9
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