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);