From: Tim Düsterhus Date: Mon, 2 Nov 2020 09:40:18 +0000 (+0100) Subject: Whitelist `version_compare` in enterprise mode X-Git-Tag: 5.3.0~3^2~10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a5d0472b0f3a169ff0c3bf7be649d20f079e712;p=GitHub%2FWoltLab%2FWCF.git Whitelist `version_compare` in enterprise mode --- 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' ];