mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-03 05:41:37 +01:00
- update of mb support in plugins
This commit is contained in:
@@ -20,8 +20,7 @@
|
||||
*/
|
||||
function smarty_modifier_upper($string)
|
||||
{
|
||||
$smarty = Smarty::instance();
|
||||
if ($smarty->has_mb) {
|
||||
if (function_exists('mb_strtoupper')) {
|
||||
return mb_strtoupper($string);
|
||||
} else {
|
||||
return strtoupper($string);
|
||||
|
||||
Reference in New Issue
Block a user