Whitelist `array_fill` in enterprise mode
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 25 Jan 2021 08:17:56 +0000 (09:17 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 25 Jan 2021 08:17:56 +0000 (09:17 +0100)
wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php

index 5ccb34ecb3d675e0da1723201d92f17eaee2b0b9..5da3fa9a22ab1934b065f5479fa6190e3ce6a553 100644 (file)
@@ -44,6 +44,7 @@ class TemplateScriptingCompiler {
         */
        protected $enterpriseFunctions = [
                'addslashes',
+               'array_fill',
                'array_keys',
                'array_pop',
                'array_slice',