From a7c17f59b9a280976538c380f1f9123843637e71 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 3 Sep 2022 19:16:28 +0200 Subject: [PATCH] Clean code --- htdocs/adherents/note.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/adherents/note.php b/htdocs/adherents/note.php index 0d05bb85523..532dd6e4c59 100644 --- a/htdocs/adherents/note.php +++ b/htdocs/adherents/note.php @@ -129,7 +129,7 @@ if ($id) { // Login if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) { - print ''.$langs->trans("Login").' / '.$langs->trans("Id").''.$object->login.' '; + print ''.$langs->trans("Login").' / '.$langs->trans("Id").''.dol_escape_htmltag($object->login).''; } // Type @@ -143,7 +143,7 @@ if ($id) { print ''; // Company - print ''.$langs->trans("Company").''.$object->company.''; + print ''.$langs->trans("Company").''.dol_escape_htmltag($object->company).''; // Civility print ''.$langs->trans("UserTitle").''.$object->getCivilityLabel().' ';