// Smarty fix bugs with php version < 5.2.3

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16184 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-07-03 09:07:33 +00:00
parent c6038d7e92
commit d782798926
2 changed files with 26 additions and 0 deletions
+4
View File
@@ -48,7 +48,11 @@ function smarty_modifier_escape($string, $esc_type = 'html', $char_set = null, $
}
// no MBString fallback
/* PrestaShop
return htmlentities($string, ENT_QUOTES, $char_set, $double_encode);
*/
return htmlentities($string, ENT_QUOTES, $char_set);
/* END */
case 'url':
return rawurlencode($string);