Reintroduce `strtolower` and `strtoupper` to the allowed template modifiers
authorMarcel Werk <burntime@woltlab.com>
Thu, 17 Aug 2023 14:50:51 +0000 (16:50 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 17 Aug 2023 14:50:51 +0000 (16:50 +0200)
wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php

index 8e50ac7a5610acbab997f008bf891e9d0b72fa6c..8510cb545e801051d5ac5ee796d12aceb54647c3 100644 (file)
@@ -97,6 +97,8 @@ class TemplateScriptingCompiler
         'str_repeat',
         'str_replace',
         'str_starts_with',
+        'strtolower',
+        'strtoupper',
         'substr',
         'trim',
         'ucfirst',