More PSR4 rewriting

This commit is contained in:
Simon Wisselink
2022-11-30 00:25:27 +01:00
parent 91b6fdeb4e
commit 8b5540f4f3
151 changed files with 732 additions and 7683 deletions

View File

@@ -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 ] . ')';