From: Fabien Potencier Date: Sat, 23 Oct 2010 08:38:18 +0000 (+0200) Subject: fixed typo X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=03c286667ca5dbab097d23c5313c66ca7eac7d6c;p=web%2Fkonrad%2Ftwig.git fixed typo --- 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; }