// small fix

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