From 97f2c75de89896a7b8e20d511e9e0fa89e5fcb69 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 21 Feb 2024 20:14:18 +0100 Subject: [PATCH] Change syntax of check on null for closing motive --- .../Resources/views/AccompanyingCourse/index.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig index dce01a7ee..3ef4825ef 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig @@ -35,7 +35,7 @@

{{ 'This course is closed'|trans }}

- {% if accompanyingCourse.closingMotive %} + {% if accompanyingCourse.closingMotive is not same as null %}

{{ 'Closing motive'|trans }} : {{ accompanyingCourse.closingMotive.name|localize_translatable_string }}