Reintroduce `mb_strpos` to the allowed template modifiers
authorAlexander Ebert <ebert@woltlab.com>
Fri, 18 Aug 2023 10:18:35 +0000 (12:18 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 18 Aug 2023 10:18:35 +0000 (12:18 +0200)
This was an unintentional removal, because only the duplicate listing should have been removed.

wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php

index 8510cb545e801051d5ac5ee796d12aceb54647c3..0b8a0fb948c89856d158ee35bcfb96cd0809afc9 100644 (file)
@@ -74,6 +74,7 @@ class TemplateScriptingCompiler
         'ltrim',
         'max',
         'mb_strlen',
+        'mb_strpos',
         'mb_strtolower',
         'mb_strtoupper',
         'mb_substr',