Restore unused var

This commit is contained in:
jeroendedauw
2014-07-31 12:30:50 +02:00
parent d8e1077fd1
commit e6da6bb0d4
+1 -1
View File
@@ -300,7 +300,7 @@ class Twig_ExpressionParser
{
switch ($name) {
case 'parent':
$this->parseArguments();
$args = $this->parseArguments();
if (!count($this->parser->getBlockStack())) {
throw new Twig_Error_Syntax('Calling "parent" outside a block is forbidden', $line, $this->parser->getFilename());
}