From: Peter Frühwirt Date: Wed, 3 Jun 2020 07:19:36 +0000 (+0200) Subject: Allow 'current' function in templates in enterprise mode X-Git-Tag: 5.2.7~23 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=08b549e70850ab2fcad01cb877168e28ac79a3e4;p=GitHub%2FWoltLab%2FWCF.git Allow 'current' function in templates in enterprise mode Resolves #3344 --- 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',