Skip to content

Commit

Permalink
MDL-71760 admin: escape identity fields in token management table.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulholden authored and stronk7 committed Jul 8, 2021
1 parent 2408f98 commit 7d17764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webservice/classes/token_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public function col_fullname($data) {
$identity = [];

foreach ($this->userextrafields as $userextrafield) {
$identity[] = $data->$userextrafield;
$identity[] = s($data->$userextrafield);
}

$userprofilurl = new \moodle_url('/user/profile.php', ['id' => $data->userid]);
Expand Down

0 comments on commit 7d17764

Please sign in to comment.