소스 검색

[TwigBundle] made a small optimization

Fabien Potencier 14 년 전
부모
커밋
1687831cb7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Bundle/TwigBundle/TokenParser/HelperTokenParser.php

+ 1 - 1
src/Symfony/Bundle/TwigBundle/TokenParser/HelperTokenParser.php

@@ -55,7 +55,7 @@ class HelperTokenParser extends \Twig_SimpleTokenParser
     {
         return $this->output(
             $this->markAsSafe(
-                $this->getAttribute(
+                $this->call(
                     $this->getAttribute('_view', $this->helper),
                     $this->method,
                     $this->getNodeValues($values)