mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-66762 user: escape extra/email user fields.
This commit is contained in:
parent
eb9f830604
commit
7455b741c9
11 changed files with 14 additions and 17 deletions
|
@ -401,7 +401,7 @@
|
|||
$row = array ();
|
||||
$row[] = "<a href=\"../user/view.php?id=$user->id&course=$site->id\">$fullname</a>";
|
||||
foreach ($extracolumns as $field) {
|
||||
$row[] = $user->{$field};
|
||||
$row[] = s($user->{$field});
|
||||
}
|
||||
$row[] = $user->city;
|
||||
$row[] = $user->country;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue