From 134456ded08b3a96bdc18104fa7b0487734b119e Mon Sep 17 00:00:00 2001 From: Hubert Borderiou Date: Mon, 23 Jan 2012 15:59:53 +0100 Subject: [PATCH] correcting minor bug in class_information - ref #4226 --- main/admin/class_information.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/admin/class_information.php b/main/admin/class_information.php index 018b100556..e6c5efab71 100644 --- a/main/admin/class_information.php +++ b/main/admin/class_information.php @@ -54,7 +54,7 @@ if (count($users) > 0) { $table_header[] = array ('', false); $data = array(); foreach($users as $index => $user) { - $username = sprintf(get_lang('LoginX'), $user['username']); + $username = api_htmlentities(sprintf(get_lang('LoginX'), $user['username']), ENT_QUOTES); $row = array (); $row[] = $user['official_code']; if ($is_western_name_order) {