Skip to content

Commit

Permalink
Removed doubled line doing strtolower
Browse files Browse the repository at this point in the history
  • Loading branch information
wisskid committed Dec 1, 2023
1 parent 39c150a commit 6ca6f72
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Compiler/Template.php
Expand Up @@ -593,8 +593,6 @@ public function processText($text) {
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;
}
Expand Down

0 comments on commit 6ca6f72

Please sign in to comment.