From 5a24cfa6b9e42bc64541a1985afd14cee59ab705 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 2 Jun 2011 18:05:31 +0000 Subject: [PATCH] Fix: bad function --- htdocs/compta/facture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 25806f607a5..64ba7847a7b 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1836,7 +1836,7 @@ else */ if ($id > 0 || ! empty($ref)) { - if (preg_match('/class="error"/',$mesg)) dol_htmloutput_error($mesg); + if (preg_match('/class="error"/',$mesg)) dol_htmloutput_errors($mesg); else dol_htmloutput_mesg($mesg); $result=$object->fetch($id,$ref);