mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-18 00:19:41 +01:00
More PSR4 rewriting
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
*/
|
||||
function smarty_modifiercompiler_lower($params)
|
||||
{
|
||||
if (Smarty::$_MBSTRING) {
|
||||
return 'mb_strtolower(' . $params[ 0 ] . ', \'' . addslashes(Smarty::$_CHARSET) . '\')';
|
||||
if (\Smarty\Smarty::$_MBSTRING) {
|
||||
return 'mb_strtolower(' . $params[ 0 ] . ', \'' . addslashes(\Smarty\Smarty::$_CHARSET) . '\')';
|
||||
}
|
||||
// no MBString fallback
|
||||
return 'strtolower(' . $params[ 0 ] . ')';
|
||||
|
||||
Reference in New Issue
Block a user