Whitelist `get_class` in enterprise mode
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 23 Oct 2020 10:49:54 +0000 (12:49 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 23 Oct 2020 10:49:54 +0000 (12:49 +0200)
wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php

index faa8ab4c0ea1fef53147f6b5c7a11a7ae2feda28..406aa9ae834da0b9157ae75584fb8dc214f1c0b7 100644 (file)
@@ -67,6 +67,7 @@ class TemplateScriptingCompiler {
                'floatval',
                'floor',
                'function_exists',
+               'get_class',
                'gmdate',
                'hash',
                'htmlspecialchars',