Restore unused var
authorjeroendedauw <jeroendedauw@gmail.com>
Thu, 31 Jul 2014 10:30:50 +0000 (12:30 +0200)
committerjeroendedauw <jeroendedauw@gmail.com>
Thu, 31 Jul 2014 10:30:50 +0000 (12:30 +0200)
lib/Twig/ExpressionParser.php

index 01fffd3..01594f7 100644 (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());
                 }