diff options
Diffstat (limited to 'vendor/smarty/smarty/libs/plugins/modifiercompiler.lower.php')
-rw-r--r-- | vendor/smarty/smarty/libs/plugins/modifiercompiler.lower.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/smarty/smarty/libs/plugins/modifiercompiler.lower.php b/vendor/smarty/smarty/libs/plugins/modifiercompiler.lower.php index ac9cc39d7..4144e5619 100644 --- a/vendor/smarty/smarty/libs/plugins/modifiercompiler.lower.php +++ b/vendor/smarty/smarty/libs/plugins/modifiercompiler.lower.php @@ -22,8 +22,8 @@ function smarty_modifiercompiler_lower($params) { if (Smarty::$_MBSTRING) { - return 'mb_strtolower(' . $params[ 0 ] . ', \'' . addslashes(Smarty::$_CHARSET) . '\')'; + return 'mb_strtolower((string) ' . $params[ 0 ] . ', \'' . addslashes(Smarty::$_CHARSET) . '\')'; } // no MBString fallback - return 'strtolower(' . $params[ 0 ] . ')'; + return 'strtolower((string) ' . $params[ 0 ] . ')'; } |