From: Tim Düsterhus Date: Thu, 22 Dec 2011 18:29:08 +0000 (+0100) Subject: Removing one check as it caused problems X-Git-Tag: 2.0.0_Beta_1~1484^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b5951f259d4228bf56ee855a6bcebf478d36da07;p=GitHub%2FWoltLab%2FWCF.git Removing one check as it caused problems --- diff --git a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php index 26e9f2e258..5e8f06ef09 100644 --- a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php +++ b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php @@ -513,11 +513,6 @@ class TemplateScriptingCompiler { $phpCode = $this->compilerPlugins[$className]->executeStart($tagArgs, $this); } else { - list($openTag) = end($this->tagStack); - if ($openTag != $tagCommand) { - throw new SystemException($this->formatSyntaxError('unexpected {/'.$tagCommand.'}', $this->currentIdentifier, $this->currentLineNo)); - } - $this->popTag($tagCommand); $phpCode = $this->compilerPlugins[$className]->executeEnd($this); }