diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig index d92c199b0..9071fdcfc 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig @@ -92,11 +92,11 @@ {% endif %} - {% if accompanyingCourse.participations is not empty %} + {% if accompanyingCourse.getCurrentParticipations is not empty %}

{{ 'Persons associated'|trans }}

- {% for r in accompanyingCourse.participations %} + {% for r in accompanyingCourse.getCurrentParticipations %} {{ _self.insert_onthefly('person', r.person) }} {% endfor %}