From 6f649dc72dcbd268ac660233ed4b7180f8fef4f0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 14 Dec 2011 09:28:08 +0100 Subject: [PATCH] Qual: Uniformize code --- htdocs/comm/action/fiche.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index 184f4acd3e8..79651130546 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -609,11 +609,11 @@ if ($id) { if ($error) { - print '
'.$error.'

'; + dol_htmloutput_errors($error); } if ($mesg) { - print $mesg.'
'; + dol_htmloutput_mesg($mesg); } $act = new ActionComm($db);