From 0a5d0472b0f3a169ff0c3bf7be649d20f079e712 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 2 Nov 2020 10:40:18 +0100 Subject: [PATCH] Whitelist `version_compare` 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 406aa9ae83..35ad4053ac 100644 --- a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php +++ b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php @@ -123,6 +123,7 @@ class TemplateScriptingCompiler { 'ucfirst', 'uniqid', 'urlencode', + 'version_compare', 'wcfDebug', 'wordwrap' ]; -- 2.20.1