// small fix
This commit is contained in:
1 parent
58da52b808
commit
10fa987832
1 file changed
+2
-4
+2
-4
@@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user