From 4b0524dcc0f5285184d2d82b551aca5cd9d4323f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 23 Oct 2020 12:49:54 +0200 Subject: [PATCH] Whitelist `get_class` in enterprise mode --- .../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 faa8ab4c0e..406aa9ae83 100644 --- a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php +++ b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php @@ -67,6 +67,7 @@ class TemplateScriptingCompiler { 'floatval', 'floor', 'function_exists', + 'get_class', 'gmdate', 'hash', 'htmlspecialchars', -- 2.20.1