mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-07 01:13:53 +02:00
[ticket/16382] Update Twig_Node_Expression_Name
PHPBB3-16382
This commit is contained in:
parent
3b1f936dcf
commit
dbb9cbe280
@ -37,7 +37,7 @@ class defineparser extends \Twig_TokenParser
|
||||
$stream->next();
|
||||
$value = $this->parser->getExpressionParser()->parseExpression();
|
||||
|
||||
if ($value instanceof \Twig_Node_Expression_Name)
|
||||
if ($value instanceof \Twig\Node\Expression\NameExpression)
|
||||
{
|
||||
// This would happen if someone improperly formed their DEFINE syntax
|
||||
// e.g. <!-- DEFINE $VAR = foo -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user