// small fix

This commit is contained in:
rGaillard
2013-11-29 15:11:49 +01:00
parent 58da52b808
commit 10fa987832
+2 -4
View File
@@ -676,10 +676,8 @@ class ToolsCore
public static function htmlentitiesDecodeUTF8($string)
{
if (is_array($string))
{
$string = array_map(array('Tools', 'htmlentitiesDecodeUTF8'), $string);
return (string)array_shift($string);
}
return array_map(array('Tools', 'htmlentitiesDecodeUTF8'), $string);
return html_entity_decode((string)$string, ENT_QUOTES, 'utf-8');
}