diff --git a/htdocs/lib/functions.lib.php b/htdocs/lib/functions.lib.php index 20c80518799..b487b4fa92a 100644 --- a/htdocs/lib/functions.lib.php +++ b/htdocs/lib/functions.lib.php @@ -3458,7 +3458,7 @@ function dol_htmloutput_errors($mesgstring='',$mesgarray='') { global $langs; - $ret = 0; + $ret = ''; $langs->load("errors"); if (is_array($mesgarray) && sizeof($mesgarray))