Fix: bad function

This commit is contained in:
Regis Houssin 2011-06-02 18:05:31 +00:00
parent 857006c456
commit 5a24cfa6b9

View File

@ -1836,7 +1836,7 @@ else
*/ */
if ($id > 0 || ! empty($ref)) 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); else dol_htmloutput_mesg($mesg);
$result=$object->fetch($id,$ref); $result=$object->fetch($id,$ref);