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 ''; }