From 1208407d478758d2dd81cfde1c427da45e86dd87 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 7 Feb 2011 16:44:16 +0000 Subject: [PATCH] Fix: Remove last CR --- htdocs/lib/functions.lib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/lib/functions.lib.php b/htdocs/lib/functions.lib.php index 69b59b774de..9fac953249c 100644 --- a/htdocs/lib/functions.lib.php +++ b/htdocs/lib/functions.lib.php @@ -3467,7 +3467,8 @@ function dol_htmloutput_mesg($mesgstring='',$mesgarray='', $style='ok') foreach($mesgarray as $message) { $ret++; - print $langs->trans($message)."
\n"; + print $langs->trans($message); + if ($ret < sizeof($mesgarray)) print "
\n"; } print ''; }