Fixes bug where invalid partial tag throws off the scent with its own problems
This commit is contained in:
parent
2d7059aa7d
commit
64f3a87e01
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue