Revert "Refactor 1"

This commit is contained in:
Laurent Destailleur
2015-03-22 12:51:29 +01:00
parent a79a779b04
commit 2d90256640
20 changed files with 208 additions and 449 deletions

View File

@@ -3927,7 +3927,9 @@ function dol_htmlcleanlastbr($stringtodecode)
*/
function dol_html_entity_decode($a,$b,$c='UTF-8')
{
return html_entity_decode($a,$b,$c);
// We use @ to avoid warning on PHP4 that does not support entity decoding to UTF8;
$ret=@html_entity_decode($a,$b,$c);
return $ret;
}
/**