From 64f3a87e01af040fade83fb067ee116c4e544632 Mon Sep 17 00:00:00 2001 From: Sam Georges Date: Thu, 15 May 2014 01:31:41 +1000 Subject: [PATCH] Fixes bug where invalid partial tag throws off the scent with its own problems --- modules/cms/twig/PartialTokenParser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/cms/twig/PartialTokenParser.php b/modules/cms/twig/PartialTokenParser.php index 5e4cf138a..d431adb8a 100644 --- a/modules/cms/twig/PartialTokenParser.php +++ b/modules/cms/twig/PartialTokenParser.php @@ -30,6 +30,7 @@ class PartialTokenParser extends Twig_TokenParser */ public function parse(Twig_Token $token) { + $lineno = $token->getLine(); $stream = $this->parser->getStream(); $name = $this->parser->getExpressionParser()->parseExpression();