Whitelist `version_compare` in enterprise mode
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 2 Nov 2020 09:40:18 +0000 (10:40 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 2 Nov 2020 09:40:18 +0000 (10:40 +0100)
wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php

index 406aa9ae834da0b9157ae75584fb8dc214f1c0b7..35ad4053acdb5e48745017661997fa1f862e7cb1 100644 (file)
@@ -123,6 +123,7 @@ class TemplateScriptingCompiler {
                'ucfirst',
                'uniqid',
                'urlencode',
+               'version_compare',
                'wcfDebug',
                'wordwrap'
        ];