Commit 7d177640 authored by Paul Holden's avatar Paul Holden Committed by Eloy Lafuente
Browse files

MDL-71760 admin: escape identity fields in token management table.

parent 2408f983
......@@ -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]);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment