Removing one check as it caused problems
authorTim Düsterhus <timwolla@arcor.de>
Thu, 22 Dec 2011 18:29:08 +0000 (19:29 +0100)
committerTim Düsterhus <timwolla@arcor.de>
Thu, 22 Dec 2011 18:29:08 +0000 (19:29 +0100)
wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php

index 26e9f2e25892b6b898c3e0aeef17b12d4742dedd..5e8f06ef09235575542fcc91c309acc811046f0c 100644 (file)
@@ -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);
                }