From a98c8b0e648857f5c05baead89ad8344329c7286 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 18 Aug 2023 12:18:35 +0200 Subject: [PATCH] Reintroduce `mb_strpos` to the allowed template modifiers This was an unintentional removal, because only the duplicate listing should have been removed. --- .../lib/system/template/TemplateScriptingCompiler.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php index 8510cb545e8..0b8a0fb948c 100644 --- a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php +++ b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php @@ -74,6 +74,7 @@ class TemplateScriptingCompiler 'ltrim', 'max', 'mb_strlen', + 'mb_strpos', 'mb_strtolower', 'mb_strtoupper', 'mb_substr',