From 6c191f584f6bb4859410b1bdde62a570ed4dec6b Mon Sep 17 00:00:00 2001 From: LenaertsJ Date: Wed, 14 Sep 2022 12:09:25 +0000 Subject: [PATCH] =?UTF-8?q?fix=20bug=20when=20member=20is=20non-positionn?= =?UTF-8?q?=C3=A9,=20case=20not=20taken=20into=20account=20in=20if-conditi?= =?UTF-8?q?on?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Resources/views/Household/summary.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Household/summary.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Household/summary.html.twig index a8ff245d7..bdf06c0bd 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/Household/summary.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/Household/summary.html.twig @@ -180,7 +180,7 @@ {% if members|length > 0 %}
{% for m in members %} - {% if m.position.shareHousehold %} + {% if m.position is null or m.position.shareHousehold %} {% include '@ChillPerson/Household/_render_member.html.twig' with { 'member': m, 'customButtons': { 'before': _self.customButtons(m, household) }