From 03c286667ca5dbab097d23c5313c66ca7eac7d6c Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sat, 23 Oct 2010 10:38:18 +0200 Subject: [PATCH] fixed typo --- lib/Twig/TokenParser/Trans.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/Twig/TokenParser/Trans.php b/lib/Twig/TokenParser/Trans.php index f2fbc51..f520c25 100644 --- a/lib/Twig/TokenParser/Trans.php +++ b/lib/Twig/TokenParser/Trans.php @@ -69,7 +69,7 @@ class Twig_TokenParser_Trans extends Twig_TokenParser if ( $node instanceof Twig_Node_Text || - ($node instanceof Twig_Node_Print && $node->expr instanceof Twig_Node_Expression_Name) + ($node instanceof Twig_Node_Print && $node->getNode('expr') instanceof Twig_Node_Expression_Name) ) { continue; } -- 1.7.2.5