From 08b549e70850ab2fcad01cb877168e28ac79a3e4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20Fr=C3=BChwirt?= Date: Wed, 3 Jun 2020 09:19:36 +0200 Subject: [PATCH] Allow 'current' function in templates in enterprise mode Resolves #3344 --- .../lib/system/template/TemplateScriptingCompiler.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php index 579ea170ff..c80eb7f9b4 100644 --- a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php +++ b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php @@ -55,6 +55,7 @@ class TemplateScriptingCompiler { 'constant', 'count', 'currency', + 'current', 'date', 'defined', 'empty', -- 2.20.1