From ee61324caf255b1a17e028e48a37dbc30848ee71 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 12 Apr 2018 18:57:51 +0200 Subject: [PATCH] Fix: show \r\n if description contain
--- htdocs/user/class/usergroup.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/user/class/usergroup.class.php b/htdocs/user/class/usergroup.class.php index 859c5267d04..bfdb80b56d2 100644 --- a/htdocs/user/class/usergroup.class.php +++ b/htdocs/user/class/usergroup.class.php @@ -831,9 +831,9 @@ class UserGroup extends CommonObject { $langs->load("users"); $label=$langs->trans("ShowGroup"); - $linkclose.=' alt="'.dol_escape_htmltag($label, 1).'"'; + $linkclose.=' alt="'.dol_escape_htmltag($label, 1, 1).'"'; } - $linkclose.= ' title="'.dol_escape_htmltag($label, 1).'"'; + $linkclose.= ' title="'.dol_escape_htmltag($label, 1, 1).'"'; $linkclose.= ' class="classfortooltip'.($morecss?' '.$morecss:'').'"'; } /*if (! is_object($hookmanager))