diff options
author | Mario <mario@mariovavti.com> | 2022-10-11 19:20:46 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-10-11 19:20:46 +0000 |
commit | 4070c46d157918a01e2a34820985a64fee4e99f0 (patch) | |
tree | 2ee04c8a086bb4e2a7c43a2fa2b947e73edffa38 /vendor/smarty/smarty/libs/plugins/modifiercompiler.upper.php | |
parent | a749db8d0f216491cfefb3849891d93f89b775f7 (diff) | |
download | volse-hubzilla-4070c46d157918a01e2a34820985a64fee4e99f0.tar.gz volse-hubzilla-4070c46d157918a01e2a34820985a64fee4e99f0.tar.bz2 volse-hubzilla-4070c46d157918a01e2a34820985a64fee4e99f0.zip |
composer update smarty
Diffstat (limited to 'vendor/smarty/smarty/libs/plugins/modifiercompiler.upper.php')
-rw-r--r-- | vendor/smarty/smarty/libs/plugins/modifiercompiler.upper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/smarty/smarty/libs/plugins/modifiercompiler.upper.php b/vendor/smarty/smarty/libs/plugins/modifiercompiler.upper.php index e12ae6769..31a90a055 100644 --- a/vendor/smarty/smarty/libs/plugins/modifiercompiler.upper.php +++ b/vendor/smarty/smarty/libs/plugins/modifiercompiler.upper.php @@ -21,8 +21,8 @@ function smarty_modifiercompiler_upper($params) { if (Smarty::$_MBSTRING) { - return 'mb_strtoupper(' . $params[ 0 ] . ', \'' . addslashes(Smarty::$_CHARSET) . '\')'; + return 'mb_strtoupper(' . $params[ 0 ] . ' ?? \'\', \'' . addslashes(Smarty::$_CHARSET) . '\')'; } // no MBString fallback - return 'strtoupper(' . $params[ 0 ] . ')'; + return 'strtoupper(' . $params[ 0 ] . ' ?? \'\')'; } |