Browse Source

[FrameworkBundle] fixed typo

Fabien Potencier 14 years ago
parent
commit
28aa8e729a

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

@@ -20,7 +20,7 @@
                 </div>
 
                 {% 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>
                         <ul>
                             {% for i, previous in exception.allPrevious %}