// Merge -> revision 8800
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8808 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+2
-2
@@ -509,8 +509,8 @@ class ToolsCore
|
||||
public static function safeOutput($string, $html = false)
|
||||
{
|
||||
if (!$html)
|
||||
$string = @htmlentities(strip_tags($string), ENT_QUOTES, 'utf-8');
|
||||
return $string;
|
||||
$string = strip_tags($string);
|
||||
return @Tools::htmlentitiesUTF8($string, ENT_QUOTES);;
|
||||
}
|
||||
|
||||
public static function htmlentitiesUTF8($string, $type = ENT_QUOTES)
|
||||
|
||||
Reference in New Issue
Block a user