// Smarty fix bugs with php version < 5.2.3

This commit is contained in:
mDeflotte
2012-07-03 09:07:33 +00:00
parent d4ef18cdfe
commit 4d7bbf217a
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);