Removed silent operator for PHP 4 in function dol_html_entity_decode

This commit is contained in:
Marcos García de La Fuente 2015-02-25 23:00:43 +01:00
parent f2fededd2c
commit f117b65a17

View File

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