From ea3fd946fb59df310eb8c8f59f060d2fea841ae7 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 10 Feb 2023 11:12:15 +0100 Subject: [PATCH] [Notifier] Fix notifier profiler when transport name is null --- Resources/views/Collector/notifier.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/views/Collector/notifier.html.twig b/Resources/views/Collector/notifier.html.twig index dd17fab9..eb43fc98 100644 --- a/Resources/views/Collector/notifier.html.twig +++ b/Resources/views/Collector/notifier.html.twig @@ -17,7 +17,7 @@ {% for transport in events.transports %}
- {{ transport }} + {{ transport ?: 'Empty Transport Name' }} {{ events.messages(transport)|length }}
{% endfor %} @@ -100,7 +100,7 @@ {% for transport in events.transports %} -

{{ transport }}

+

{{ transport ?: 'Empty Transport Name' }}