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/modifier.capitalize.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/modifier.capitalize.php')
-rw-r--r-- | vendor/smarty/smarty/libs/plugins/modifier.capitalize.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/smarty/smarty/libs/plugins/modifier.capitalize.php b/vendor/smarty/smarty/libs/plugins/modifier.capitalize.php index c5fc400a6..b7da08980 100644 --- a/vendor/smarty/smarty/libs/plugins/modifier.capitalize.php +++ b/vendor/smarty/smarty/libs/plugins/modifier.capitalize.php @@ -22,6 +22,8 @@ */ function smarty_modifier_capitalize($string, $uc_digits = false, $lc_rest = false) { + $string = (string) $string; + if (Smarty::$_MBSTRING) { if ($lc_rest) { // uppercase (including hyphenated words) |