mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-71760 admin: escape identity fields in token management table.
This commit is contained in:
parent
2408f98357
commit
7d177640b0
@ -151,7 +151,7 @@ class token_table extends \table_sql {
|
||||
$identity = [];
|
||||
|
||||
foreach ($this->userextrafields as $userextrafield) {
|
||||
$identity[] = $data->$userextrafield;
|
||||
$identity[] = s($data->$userextrafield);
|
||||
}
|
||||
|
||||
$userprofilurl = new \moodle_url('/user/profile.php', ['id' => $data->userid]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user