Fix: Use output message style.
This commit is contained in:
parent
733e0a54f0
commit
91ccc73180
@ -1837,7 +1837,8 @@ else
|
||||
*/
|
||||
if ($id > 0 || ! empty($ref))
|
||||
{
|
||||
if ($mesg) print $mesg.'<br>';
|
||||
if (preg_match('/class="error"/',$mesg)) dol_htmloutput_error($mesg);
|
||||
else dol_htmloutput_mesg($mesg);
|
||||
|
||||
$result=$object->fetch($id,$ref);
|
||||
if ($result > 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user