From 6ca6f727507aad5aaed3b8a03f62c86e4b5c515e Mon Sep 17 00:00:00 2001 From: Simon Wisselink Date: Fri, 1 Dec 2023 20:11:33 +0100 Subject: [PATCH] Removed doubled line doing strtolower --- src/Compiler/Template.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Compiler/Template.php b/src/Compiler/Template.php index 2eacc5a3..184457f3 100644 --- a/src/Compiler/Template.php +++ b/src/Compiler/Template.php @@ -593,8 +593,6 @@ class Template extends BaseCompiler { public function getTagCompiler($tag): ?\Smarty\Compile\CompilerInterface { $tag = strtolower($tag); - $tag = strtolower($tag); - if (isset($this->smarty->security_policy) && !$this->smarty->security_policy->isTrustedTag($tag, $this)) { return null; }