From b5951f259d4228bf56ee855a6bcebf478d36da07 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 22 Dec 2011 19:29:08 +0100 Subject: [PATCH] Removing one check as it caused problems --- .../lib/system/template/TemplateScriptingCompiler.class.php | 5 ----- 1 file changed, 5 deletions(-) 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); } -- 2.20.1