mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-02 09:24:28 +02:00
Removed doubled line doing strtolower
This commit is contained in:
@@ -593,8 +593,6 @@ class Template extends BaseCompiler {
|
|||||||
public function getTagCompiler($tag): ?\Smarty\Compile\CompilerInterface {
|
public function getTagCompiler($tag): ?\Smarty\Compile\CompilerInterface {
|
||||||
$tag = strtolower($tag);
|
$tag = strtolower($tag);
|
||||||
|
|
||||||
$tag = strtolower($tag);
|
|
||||||
|
|
||||||
if (isset($this->smarty->security_policy) && !$this->smarty->security_policy->isTrustedTag($tag, $this)) {
|
if (isset($this->smarty->security_policy) && !$this->smarty->security_policy->isTrustedTag($tag, $this)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user