mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26: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
|
@ -117,7 +117,8 @@ class award_criteria_profile extends award_criteria {
|
|||
if (in_array($field->id, $existing)) {
|
||||
$checked = true;
|
||||
}
|
||||
$this->config_options($mform, array('id' => $field->id, 'checked' => $checked, 'name' => $field->name, 'error' => false));
|
||||
$this->config_options($mform, array('id' => $field->id, 'checked' => $checked,
|
||||
'name' => format_string($field->name), 'error' => false));
|
||||
$none = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue