소스 검색

[FrameworkBundle] fixed typo

Fabien Potencier 14 년 전
부모
커밋
28aa8e729a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.html.twig

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.html.twig

@@ -20,7 +20,7 @@
                 </div>
                 </div>
 
 
                 {% set previous_count = exception.allPrevious|length %}
                 {% set previous_count = exception.allPrevious|length %}
-                {% if previous_count|length %}
+                {% if previous_count %}
                     <div class="linked"><span><strong>{{ previous_count }}</strong> linked Exception{{ previous_count > 1 ? 's' : '' }}:</span>
                     <div class="linked"><span><strong>{{ previous_count }}</strong> linked Exception{{ previous_count > 1 ? 's' : '' }}:</span>
                         <ul>
                         <ul>
                             {% for i, previous in exception.allPrevious %}
                             {% for i, previous in exception.allPrevious %}