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; }