From 65ce6ee8211cd855213ea8abf2aa40ae9f3b819e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@users.sourceforge.net> Date: Tue, 14 Jun 2011 23:30:12 +0000 Subject: [PATCH] Fix: Use correct function to output value --- htdocs/admin/ihm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php index 25f931866aa..8bd64e46680 100644 --- a/htdocs/admin/ihm.php +++ b/htdocs/admin/ihm.php @@ -465,13 +465,13 @@ else // Show // Message login $var=!$var; print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("MessageLogin").'</td><td colspan="2">'; - print nl2br($conf->global->MAIN_HOME); + print dol_htmlcleanlastbr($conf->global->MAIN_HOME); print '</td></tr>'."\n"; // Message of the day $var=!$var; print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("MessageOfDay").'</td><td colspan="2">'; - print nl2br($conf->global->MAIN_MOTD); + print dol_htmlcleanlastbr($conf->global->MAIN_MOTD); print '</td></tr>'."\n"; /* -- GitLab