Allow 'current' function in templates in enterprise mode
authorPeter Frühwirt <peter.fruehwirt@viecode.com>
Wed, 3 Jun 2020 07:19:36 +0000 (09:19 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 3 Jun 2020 10:18:23 +0000 (12:18 +0200)
Resolves #3344

wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php

index 579ea170ff91696f2c29cbaa56f5e1a2ea3b5f47..c80eb7f9b4c705f6328d6f4d60414723880922d8 100644 (file)
@@ -55,6 +55,7 @@ class TemplateScriptingCompiler {
                'constant',
                'count',
                'currency',
+               'current',
                'date',
                'defined',
                'empty',