From df026beebf1438aaad360787e4da4b957e0013e0 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 17 Dec 2020 17:57:43 +0100 Subject: [PATCH] Permit the use of `is_null` in templates when running in the enterprise mode --- .../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 5ccb34ecb3..358a42ef27 100644 --- a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php +++ b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php @@ -76,6 +76,7 @@ class TemplateScriptingCompiler { 'implode', 'in_array', 'is_array', + 'is_null', 'is_numeric', 'is_object', 'iterator_count', -- 2.20.1