Removed doubled line doing strtolower

This commit is contained in:
Simon Wisselink
2023-12-01 20:11:33 +01:00
committed by GitHub
parent 39c150ae58
commit 6ca6f72750

View File

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