From fd97c0caca9042f5a17f25fdb2aa1cdf834176c6 Mon Sep 17 00:00:00 2001 From: Lukas Kahwe Smith Date: Sun, 24 Apr 2011 01:08:15 +0200 Subject: [PATCH] renamed getPreviouses() to getAllPrevious --- .../Resources/views/Exception/exception.html.twig | 6 +++--- .../Component/HttpKernel/Exception/FlattenException.php | 4 ++-- .../Component/HttpKernel/Exception/FlattenExceptionTest.php | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.html.twig b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.html.twig index 79e4c0c4a2..8bfc8108f6 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.html.twig +++ b/src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception.html.twig @@ -19,11 +19,11 @@ {{ status_code }} {{ status_text }} - {{ exception.class|abbr_class }} - {% set previous_count = exception.previouses|length %} - {% if previous_count %} + {% set previous_count = exception.allPrevious|length %} + {% if previous_count|length %}
{{ previous_count }} linked Exception{{ previous_count > 1 ? 's' : '' }}: