diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/index.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/index.html.twig index 3bb34a22d..83a047c98 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/index.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/index.html.twig @@ -70,7 +70,7 @@ action: 'show', displayBadge: true, targetEntity: { name: 'person', id: p.id }, buttonText: p|chill_entity_render_string, - isDead: entity.deathdate is not null + isDead: p.deathdate is not null } %} {% endfor %}