diff --git a/htdocs/lib/functions.lib.php b/htdocs/lib/functions.lib.php
index d6af443938f..580306497ed 100644
--- a/htdocs/lib/functions.lib.php
+++ b/htdocs/lib/functions.lib.php
@@ -2554,8 +2554,8 @@ function dol_htmlentitiesbr_decode($stringtodecode)
$ret=html_entity_decode($stringtodecode);
$ret=eregi_replace("\r\n".'
",$ret);
$ret=eregi_replace('